Skip to content

Commit edbb1d0

Browse files
authored
ignore policy changes
1 parent 7d50aef commit edbb1d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,8 @@ resource "aws_s3_bucket_policy" "this" {
125125
count = var.remote_bucket == "" ? 1 : 0
126126
bucket = aws_s3_bucket.this[0].id
127127
policy = data.aws_iam_policy_document.this.json
128+
129+
lifecycle {
130+
ignore_changes = [policy]
131+
}
128132
}

0 commit comments

Comments
 (0)