File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
infrastructure/terraform/components/app Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 22 cloudfront_files_domain_name = " files.${ local . root_domain_name } "
33 root_domain_name = " ${ var . environment } .${ local . acct . dns_zone [" name" ]} "
44
5- repo_root = abspath ( " ${ path . module } /.. /../../.." )
6- lambdas_source_code_dir = " ${ local . repo_root } /lambdas "
5+ lambdas_dir = " .. /../../../lambdas "
6+ lambdas_source_code_dir = abspath ( " ${ path . module } / ${ local . lambdas_dir } " )
77}
Original file line number Diff line number Diff line change @@ -66,16 +66,11 @@ data "aws_iam_policy_document" "kms" {
6666 " *" ,
6767 ]
6868
69+ // TODO, tag conditions don't work
6970 condition {
7071 test = " StringLike"
7172 variable = " aws:SourceArn"
7273 values = [" arn:aws:cloudfront::${ var . aws_account_id } :distribution/*" ]
7374 }
74-
75- condition {
76- test = " StringEquals"
77- variable = " aws:ResourceTag/Environment"
78- values = [var . environment ]
79- }
8075 }
8176}
You can’t perform that action at this time.
0 commit comments