Skip to content

Commit

Permalink
feat: update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjianli authored Nov 14, 2023
1 parent b66a006 commit 7463ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s3-other.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "aws_s3_bucket" "apiary_inventory_bucket" {
count = var.s3_enable_inventory == true ? 1 : 0
bucket = local.s3_inventory_bucket
acl = "private"
tags = merge(map("Name", "${local.s3_inventory_bucket}"), "${var.apiary_tags}")
tags = merge(tomap({"Name"="${local.s3_inventory_bucket}"}), "${var.apiary_tags}")
policy = <<EOF
{
"Version":"2012-10-17",
Expand Down Expand Up @@ -97,7 +97,7 @@ resource "aws_s3_bucket" "apiary_managed_logs_bucket" {
count = local.enable_apiary_s3_log_management ? 1 : 0
bucket = local.apiary_s3_logs_bucket
acl = "log-delivery-write"
tags = merge(map("Name", local.apiary_s3_logs_bucket), var.apiary_tags)
tags = merge(tomap({"Name"=local.apiary_s3_logs_bucket}), var.apiary_tags)
policy = <<EOF
{
"Version":"2012-10-17",
Expand Down

0 comments on commit 7463ea5

Please sign in to comment.