Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 31, 2023
1 parent 6caa5e2 commit 4aa4d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam-general-policies/policy.cloudforms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ locals {
data "aws_iam_policy_document" "cloudforms_ami" {
# for access to remote AMI key
dynamic "statement" {
for_each = length(local.cloudforms_ami_kms_keys[data.aws_arn.current.partition]) > 0 ? { data.aws_arn.current.partition = local.cloudforms_ami_kms_keys[data.aws_arn.current.partition] } : {}
for_each = length(local.cloudforms_ami_kms_keys[data.aws_arn.current.partition]) > 0 ? { (data.aws_arn.current.partition) = local.cloudforms_ami_kms_keys[data.aws_arn.current.partition] } : {}
iterator = c
content {
sid = "AWSCloudformsAMIKeyAccess"
Expand Down

0 comments on commit 4aa4d78

Please sign in to comment.