Skip to content

Commit

Permalink
remove assume role policy for application_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 27, 2025
1 parent 1c6f390 commit b5ecc52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform-state/policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ resource "aws_iam_policy" "tfstate_write" {
}

resource "aws_iam_policy" "allow_assume_role" {
count = !var.application_mode ? 1 : 0
name = format("%v%v-%v", lookup(local._prefixes, "policy", ""), var.name, "allow-assume")
path = "/"
description = "Assume role for Terraform activity"
Expand Down

0 comments on commit b5ecc52

Please sign in to comment.