Skip to content

Commit

Permalink
iam:DeleteRolePolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
carlssonk committed Sep 28, 2024
1 parent 0f81d07 commit e109cb7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/nat/iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ data "aws_iam_policy_document" "this" {
resources = ["arn:aws:ec2:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:launch-template/*"]
effect = "Allow"
}
statement {
actions = [
"iam:DeleteRolePolicy" # temporary
]
resources = ["*"]
effect = "Allow"
}
# dynamic "statement" {
# for_each = var.nat_type == "fck-nat" ? ["x"] : []
# content {
Expand Down

0 comments on commit e109cb7

Please sign in to comment.