Skip to content

Commit

Permalink
policy names must be unique
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Dec 15, 2023
1 parent a534091 commit f6dd8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ data "aws_iam_policy_document" "glue_s3" {

resource "aws_iam_policy" "glue_s3" {
count = var.access_logs ? 1 : 0
name = "glue_s3_policy"
name = "glue-s3-${var.application_name}"
policy = data.aws_iam_policy_document.glue_s3[count.index].json
}

Expand Down

0 comments on commit f6dd8f2

Please sign in to comment.