Skip to content

Commit

Permalink
wrap in paranthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
jorrite committed Jul 30, 2024
1 parent 39fec07 commit b44cda7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ module "tfe_workspace" {
terraform_version = var.tfe_workspace.terraform_version
trigger_prefixes = var.tfe_workspace.connect_vcs_repo != false ? var.tfe_workspace.trigger_prefixes : null
username = var.tfe_workspace.username
variable_set_ids = merge({ local.account_variable_set.name : tfe_variable_set.account.id }, var.tfe_workspace.variable_set_ids)
variable_set_ids = merge({ (local.account_variable_set.name) : tfe_variable_set.account.id }, var.tfe_workspace.variable_set_ids)
working_directory = coalesce(var.tfe_workspace.working_directory, local.tfe_workspace.working_directory)
workspace_tags = var.tfe_workspace.workspace_tags
}
Expand Down Expand Up @@ -244,7 +244,7 @@ module "additional_tfe_workspaces" {
terraform_version = each.value.terraform_version != null ? each.value.terraform_version : var.tfe_workspace.terraform_version
trigger_prefixes = each.value.connect_vcs_repo != false ? coalesce(each.value.trigger_prefixes, var.tfe_workspace.trigger_prefixes) : null
username = coalesce(each.value.username, "TFEPipeline-${each.key}")
variable_set_ids = merge({ local.account_variable_set.name : tfe_variable_set.account.id }, each.value.variable_set_ids)
variable_set_ids = merge({ (local.account_variable_set.name) : tfe_variable_set.account.id }, each.value.variable_set_ids)
working_directory = coalesce(each.value.working_directory, "terraform/${coalesce(each.value.name, each.key)}")
workspace_tags = each.value.workspace_tags
}

0 comments on commit b44cda7

Please sign in to comment.