Skip to content

v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jun 16:54
· 22 commits to main since this release
79d0424

🤖 Automatic Updates

Update Terraform cloudposse/iam-policy/aws to v1.0.1 (main) @renovate (#46)

This PR contains the following updates:

Package Type Update Change
cloudposse/iam-policy/aws (source) module patch 1.0.0 -> 1.0.1

Release Notes

cloudposse/terraform-aws-iam-policy

v1.0.1

Compare Source

🚀 Enhancements
fix: support JSON inputs for policy document when IAM policy/statements are not set as Terraform objects @​gberenice (#​28)
what
  • Consider JSON source policy documents in the recently added precondition block.
why
│ Error: Resource precondition failed
│ 
│   on .terraform/modules/iam_policy/main.tf line 90, in data "aws_iam_policy_document" "this":
│   90:       condition     = var.iam_policy_statements != null || var.iam_policy != null
│     ├────────────────
│     │ var.iam_policy is null
│     │ var.iam_policy_statements is null
│ 
│ Exactly 1 of var.iam_policy and var.iam_policy_statments may be used, preferably var.iam_policy.
references
  • N/A