From 9b21b62dc430be085b98d5ae683835d32f959d40 Mon Sep 17 00:00:00 2001 From: Sebastian Melchior Date: Wed, 28 Feb 2018 10:07:03 +0100 Subject: [PATCH] change another name tag --- cloudtrail.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudtrail.tf b/cloudtrail.tf index fd5ecc2..1e03e03 100644 --- a/cloudtrail.tf +++ b/cloudtrail.tf @@ -5,5 +5,5 @@ resource "aws_cloudtrail" "global_Default" { is_multi_region_trail = true include_global_service_events = true enable_log_file_validation = true - tags = "${merge(var.tags, map("Name", format("%s", var.trail_name)))}" + tags = "${merge(var.tags, map(var.name_tag_name, format("%s", var.trail_name)))}" }