Skip to content

Commit

Permalink
fix: merge var.account_variable_set.clear_text_terraform_variables in…
Browse files Browse the repository at this point in the history
…to local
  • Loading branch information
jorrite authored Aug 6, 2024
1 parent 592d94c commit 31e12ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ locals {
name = var.account_variable_set.name != null ? var.account_variable_set.name : "account-${var.name}"

clear_text_terraform_variables = merge(
var.account_variable_set.clear_text_terraform_variables,
// always add account = var.name
{ account = var.name },
// if environment, add environment = var.account.environment
Expand Down

0 comments on commit 31e12ee

Please sign in to comment.