You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when cache is disabled (i.e cache_enabled = "false"), terraform plan will fail with the following output:
Error: Error running plan: 1 error(s) occurred:
* module.build.data.aws_iam_policy_document.permissions_cache_bucket: 1 error(s) occurred:
* module.build.data.aws_iam_policy_document.permissions_cache_bucket: Resource 'aws_s3_bucket.cache_bucket' not found for variable 'aws_s3_bucket.cache_bucket.arn'
my assumption is that this is due to the following aws_iam_policy_document missing a check for var.cache_enabled. I made a fork where the permissions_cache_bucket is updated like so:
Please let me know if I'm doing something wrong (I'm pretty new to Terraform so this could definitely be the case), or if it's a bug, I can submit a PR. Thanks!
The text was updated successfully, but these errors were encountered:
It seems that when cache is disabled (i.e
cache_enabled = "false"
),terraform plan
will fail with the following output:my assumption is that this is due to the following
aws_iam_policy_document
missing a check forvar.cache_enabled
. I made a fork where thepermissions_cache_bucket
is updated like so:Please let me know if I'm doing something wrong (I'm pretty new to Terraform so this could definitely be the case), or if it's a bug, I can submit a PR. Thanks!
The text was updated successfully, but these errors were encountered: