Skip to content

Commit

Permalink
chore: removing the default tagging of an S3 bucket with its own name
Browse files Browse the repository at this point in the history
  • Loading branch information
chtakahashi committed Nov 3, 2023
1 parent 3d475e2 commit e71ecf4
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 e71ecf4

Please sign in to comment.