Skip to content

Commit

Permalink
Merge pull request #31 from companieshouse/feature/region-var-in-arn
Browse files Browse the repository at this point in the history
Use region variable in ARN string
  • Loading branch information
marcransome authored Jun 21, 2021
2 parents fbf9af6 + 79ab3cc commit 5e19c4f
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 @@ -4,7 +4,7 @@ module "instance_profile" {

cw_log_group_arns = flatten([
[aws_cloudwatch_log_group.cloudwatch.arn],
[for tuxedo_server_type_key, tuxedo_services in var.tuxedo_services : "arn:aws:logs:eu-west-2:${data.aws_caller_identity.current.account_id}:log-group:${var.service_subtype}-${var.service}-${tuxedo_server_type_key}-*:*"]
[for tuxedo_server_type_key, tuxedo_services in var.tuxedo_services : "arn:aws:logs:${var.region}:${data.aws_caller_identity.current.account_id}:log-group:${var.service_subtype}-${var.service}-${tuxedo_server_type_key}-*:*"]
])

enable_SSM = true
Expand Down

0 comments on commit 5e19c4f

Please sign in to comment.