Skip to content

Commit

Permalink
Improve default empty values for org and faolder in core submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpalamarchuk committed Dec 11, 2019
1 parent 04b9828 commit 9cc6d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core_project_factory/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ resource "random_id" "random_project_id_suffix" {
locals {
group_id = var.manage_group ? format("group:%s", var.group_email) : ""
base_project_id = var.project_id == "" ? var.name : var.project_id
project_org_id = var.folder_id != "" ? "" : var.org_id
project_folder_id = var.folder_id != "" ? var.folder_id : ""
project_org_id = var.folder_id != "" ? null : var.org_id
project_folder_id = var.folder_id != "" ? var.folder_id : null
temp_project_id = var.random_project_id ? format(
"%s-%s",
local.base_project_id,
Expand Down

0 comments on commit 9cc6d08

Please sign in to comment.