When declaring the module, the attribute roles_to_assume is not optional. Which means we have to put something, and if no role is needed, as it is written in the documentation, then when puting a blank array, [], the terraform crashes when creating the aws_iam_policy.this because it is needed to have something in the Resource Field
|
resources = var.roles_to_assume |

When declaring the module, the attribute
roles_to_assumeis not optional. Which means we have to put something, and if no role is needed, as it is written in the documentation, then when puting a blank array,[], the terraform crashes when creating theaws_iam_policy.thisbecause it is needed to have something in theResource Fieldterraform-databricks-examples/modules/aws-databricks-base-infra/main.tf
Line 23 in fb6ff0c