Closed hoangmirs closed 9 months ago
The following syntax is used for `iam_policy_document: https://github.com/nimblehq/infrastructure-templates/blob/46c082b480e23cb6fc05746e409e651bc865327b/templates/addons/aws/modules/iam_groups/data.tf#L125-L135
But we need it for iam_group_policy
=> Error when running plan on Terraform Cloud
It should not raise that error when running
Issue
The following syntax is used for `iam_policy_document: https://github.com/nimblehq/infrastructure-templates/blob/46c082b480e23cb6fc05746e409e651bc865327b/templates/addons/aws/modules/iam_groups/data.tf#L125-L135
But we need it for iam_group_policy
=> Error when running plan on Terraform Cloud![image](https://github.com/nimblehq/infrastructure-templates/assets/7344405/6759c043-3545-4653-8f8b-8f6d64eee1a9)
Expected
It should not raise that error when running
Steps to reproduce