Skip to content

Commit 698b1a0

Browse files
committed
try fix packaging
1 parent 510d21c commit 698b1a0

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

infrastructure/terraform/components/app/locals.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ locals {
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
}

infrastructure/terraform/components/app/module_kms.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)