Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit da01c97

Browse files
Merge pull request #176 from inspec/fix-tf-ci-org-id
Propagate default empty string for org id.
2 parents 36358c5 + 22e5495 commit da01c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/build/gcp-mm.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ resource "google_sourcerepo_repository" "gcp-inspec-sourcerepo-repository" {
513513
}
514514

515515
resource "google_folder" "inspec-gcp-folder" {
516-
count = "${var.gcp_organization_id == "none" ? 0 : var.gcp_enable_privileged_resources}"
516+
count = "${var.gcp_organization_id == "" ? 0 : var.gcp_enable_privileged_resources}"
517517
display_name = "${var.folder["display_name"]}"
518518
parent = "organizations/${var.gcp_organization_id}"
519519
}
@@ -559,7 +559,7 @@ resource "google_container_node_pool" "inspec-gcp-regional-node-pool" {
559559
}
560560

561561
resource "google_logging_organization_sink" "my-sink" {
562-
count = "${var.gcp_organization_id == "none" ? 0 : var.gcp_enable_privileged_resources}"
562+
count = "${var.gcp_organization_id == "" ? 0 : var.gcp_enable_privileged_resources}"
563563
name = "${var.org_sink.name}"
564564
org_id = "${var.gcp_organization_id}"
565565

0 commit comments

Comments
 (0)