From 42278dc2d98e02903cfc825f0ab960caef801139 Mon Sep 17 00:00:00 2001 From: githubjianli <51385385+githubjianli@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:29:17 -0800 Subject: [PATCH] fix: tomap --- s3-other.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3-other.tf b/s3-other.tf index 400a3d0..8e1a70f 100644 --- a/s3-other.tf +++ b/s3-other.tf @@ -167,7 +167,7 @@ resource "aws_s3_bucket_notification" "apiary_managed_logs_bucket" { resource "aws_s3_bucket" "apiary_access_logs_hive" { count = local.enable_apiary_s3_log_hive ? 1 : 0 bucket = local.apiary_s3_hive_logs_bucket - tags = merge(map("Name", local.apiary_s3_hive_logs_bucket), var.apiary_tags) + tags = merge(tomap({"Name"=local.apiary_s3_hive_logs_bucket}), var.apiary_tags) policy = <