Skip to content

Commit

Permalink
Merge pull request #313 from trussworks/remove-default-tag
Browse files Browse the repository at this point in the history
chore: removing the default tagging of an S3 bucket with its own name
  • Loading branch information
chtakahashi authored Nov 3, 2023
2 parents 3d475e2 + e71ecf4 commit 4defe29
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,7 @@ resource "aws_s3_bucket" "aws_logs" {
bucket = var.s3_bucket_name
force_destroy = var.force_destroy

tags = merge(
var.tags, {
Name = var.s3_bucket_name
}
)
tags = var.tags
}

resource "aws_s3_bucket_policy" "aws_logs" {
Expand Down

0 comments on commit 4defe29

Please sign in to comment.