Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 3, 2023
1 parent 3329e11 commit b83e8b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iam-general-policies/policy.cloudforms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ data "aws_iam_policy_document" "cloudforms" {
statement {
sid = "AWSManageCloudformsSQS"
effect = "Allow"
resources = [for r in local.regions : format("arn:%v:sqs:%v:%v:manageiq-awsconfig-queue-*", data.aws_arn.current.partition, r, var.account_id)]
resources = [for r in local.regions : format("arn:%v:sqs:%v:%v:manageiq-awsconfig-queue-*", data.aws_arn.current.partition, r, local.account_id)]
actions = ["sqs:*"]
}

# for SNS
statement {
sid = "AWSCloudformsSNS"
effect = "Allow"
resources = [for r in local.regions : format("arn:%v:sns:%v:%v:AWSConfig_topic", data.aws_arn.current.partition, r, var.account_id)]
resources = [for r in local.regions : format("arn:%v:sns:%v:%v:AWSConfig_topic", data.aws_arn.current.partition, r, local.account_id)]
actions = ["sns:*"]
}

Expand Down

0 comments on commit b83e8b2

Please sign in to comment.