Skip to content

Commit

Permalink
fix: fix tagging policy for loop and add example of policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Jones committed Jan 22, 2025
1 parent d8fb734 commit e6ff4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "aws_organizations_policy_attachment" "service_control_policy_attachmen
## Provision any tagging policies
#
resource "aws_organizations_policy" "tagging_policy" {
for_each = { for x in var.tagging_policies : x.name => x }
for_each = { for k, v in var.tagging_policies : k => v }

name = each.key
content = each.value.content
Expand Down

0 comments on commit e6ff4e1

Please sign in to comment.