Skip to content

Commit 5a68678

Browse files
authored
ELI-446: Corrects path for toggle json (#359)
1 parent fefcbf4 commit 5a68678

File tree

1 file changed

+1
-1
lines changed
  • infrastructure/stacks/api-layer

1 file changed

+1
-1
lines changed

infrastructure/stacks/api-layer/ssm.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ resource "aws_ssm_parameter" "splunk_hec_endpoint" {
9494
}
9595

9696
resource "aws_ssm_parameter" "feature_toggles" {
97-
for_each = jsondecode(file("${path.root}/scripts/feature_toggle/feature_toggle.json"))
97+
for_each = jsondecode(file("${path.module}/../../../scripts/feature_toggle/feature_toggle.json"))
9898

9999
name = "/${var.environment}/feature_toggles/${each.key}"
100100
#checkov:skip=CKV2_AWS_34: Since this is a feature toggle config, secure string not needed

0 commit comments

Comments
 (0)