Skip to content

Commit

Permalink
Transform data type to ensure merge function succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
marcransome committed Apr 19, 2021
1 parent b497322 commit 055ef31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion groups/frontend/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module "instance_profile" {
source = "[email protected]:companieshouse/terraform-modules//aws/instance_profile?ref=tags/1.0.62"
name = "tuxedo-frontend-profile"

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]
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]
enable_SSM = true
kms_key_refs = [
local.ssm_kms_key_id
Expand Down

0 comments on commit 055ef31

Please sign in to comment.