Skip to content

Commit

Permalink
fix: update tags
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjianli authored Nov 14, 2023
1 parent 1822b57 commit f76432a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "aws_s3_bucket" "apiary_data_bucket" {
acl = "private"
request_payer = "BucketOwner"
policy = local.bucket_policy_map[each.key]
tags = merge(map("Name", each.value["data_bucket"]),
tags = merge(tomap({"Name"=each.value["data_bucket"]}),
var.apiary_tags,
jsondecode(lookup(each.value, "tags", "{}")))

Expand Down

0 comments on commit f76432a

Please sign in to comment.