From b4ccabe08868a447ddf91c15e48947afa558dae8 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Tue, 12 Sep 2023 13:41:23 -0700 Subject: [PATCH] chore: uses random_string for test setup (#1732) --- test/setup/main.tf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/setup/main.tf b/test/setup/main.tf index 81200b572e..2e6f551f91 100644 --- a/test/setup/main.tf +++ b/test/setup/main.tf @@ -47,11 +47,12 @@ module "gke-project-1" { source = "terraform-google-modules/project-factory/google" version = "~> 14.0" - name = "ci-gke-${random_id.random_project_id_suffix.hex}" - random_project_id = true - org_id = var.org_id - folder_id = var.folder_id - billing_account = var.billing_account + name = "ci-gke-${random_id.random_project_id_suffix.hex}" + random_project_id = true + random_project_id_length = 4 + org_id = var.org_id + folder_id = var.folder_id + billing_account = var.billing_account # due to https://github.com/hashicorp/terraform-provider-google/issues/9505 for AP default_service_account = "keep"