Skip to content

Commit

Permalink
fix: ConflictsWith in project org_id & folder_id (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukassup authored Jan 11, 2022
1 parent 21871b2 commit 2e59c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/fabric-project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ locals {
}

resource "google_project" "project" {
org_id = local.parent_type == "organizations" ? local.parent_id : ""
folder_id = local.parent_type == "folders" ? local.parent_id : ""
org_id = local.parent_type == "organizations" ? local.parent_id : null
folder_id = local.parent_type == "folders" ? local.parent_id : null
project_id = "${var.prefix}-${var.name}"
name = "${var.prefix}-${var.name}"
billing_account = var.billing_account
Expand Down

0 comments on commit 2e59c9a

Please sign in to comment.