Skip to content

Commit 055ef31

Browse files
committed
Transform data type to ensure merge function succeeds
1 parent b497322 commit 055ef31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

groups/frontend/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module "instance_profile" {
22
source = "[email protected]:companieshouse/terraform-modules//aws/instance_profile?ref=tags/1.0.62"
33
name = "tuxedo-frontend-profile"
44

5-
cw_log_group_arns = [for log_group in merge(aws_cloudwatch_log_group.tuxedo, aws_cloudwatch_log_group.ngsrv, aws_cloudwatch_log_group.cloudwatch) : log_group.arn]
5+
cw_log_group_arns = [for log_group in merge(aws_cloudwatch_log_group.tuxedo, aws_cloudwatch_log_group.ngsrv, {"cloudwatch" = aws_cloudwatch_log_group.cloudwatch}) : log_group.arn]
66
enable_SSM = true
77
kms_key_refs = [
88
local.ssm_kms_key_id

0 commit comments

Comments
 (0)