Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
drobinson-moj committed Nov 29, 2023
1 parent 568685b commit 3912d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ locals {
}
ssm_parameters_default = {
for key, value in var.ssm_parameters != null ? var.ssm_parameters : {} :
key => value if value.value == null && value.random == null
key => merge(value, {
value = "placeholder, overwrite me outside of terraform"
}) if value.value == null && value.random == null
}

secretsmanager_random_passwords = {
Expand All @@ -42,9 +44,7 @@ locals {
}
secretsmanager_secrets_default = {
for key, value in var.secretsmanager_secrets != null ? var.secretsmanager_secrets : {} :
key => merge(value, {
value = "placeholder, overwrite me outside of terraform"
}) if value.value == null && value.random == null
key => value if value.value == null && value.random == null
}

ami_block_device_mappings = {
Expand Down

0 comments on commit 3912d20

Please sign in to comment.