Skip to content

Commit

Permalink
Try tomap conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Nov 6, 2024
1 parent d08ac72 commit a4b967d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/spacelift/dpe-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ resource "spacelift_stack_destructor" "auth0-stack-destructor" {


resource "spacelift_environment_variable" "auth0-stack-environment-variables" {
for_each = var.deploy_auth0 ? local.auth0_stack_variables : []
for_each = var.deploy_auth0 ? local.auth0_stack_variables : tomap({})

stack_id = spacelift_stack.auth0[0].id
name = "TF_VAR_${each.key}"
Expand Down

0 comments on commit a4b967d

Please sign in to comment.