Skip to content

Commit 2e8f19d

Browse files
authored
Merge pull request #228 from NHSDigital/bugfix/eja-deduplicate-policy-naming
bugfix - deduplicating a policy name as causing issues with overwriti…
2 parents 8078792 + 5cf93e3 commit 2e8f19d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • infrastructure/modules/s3

infrastructure/modules/s3/s3.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "aws_s3_bucket_versioning" "storage_bucket_versioning_config" {
1616

1717
# ensure only secure transport is allowed
1818

19-
resource "aws_s3_bucket_policy" "tfstate_bucket" {
19+
resource "aws_s3_bucket_policy" "storage_bucket" {
2020
bucket = aws_s3_bucket.storage_bucket.id
2121
policy = data.aws_iam_policy_document.storage_s3_bucket_policy.json
2222
}

0 commit comments

Comments
 (0)