Skip to content

Commit b4ccabe

Browse files
authored
chore: uses random_string for test setup (#1732)
1 parent acd2d41 commit b4ccabe

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/setup/main.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ module "gke-project-1" {
4747
source = "terraform-google-modules/project-factory/google"
4848
version = "~> 14.0"
4949

50-
name = "ci-gke-${random_id.random_project_id_suffix.hex}"
51-
random_project_id = true
52-
org_id = var.org_id
53-
folder_id = var.folder_id
54-
billing_account = var.billing_account
50+
name = "ci-gke-${random_id.random_project_id_suffix.hex}"
51+
random_project_id = true
52+
random_project_id_length = 4
53+
org_id = var.org_id
54+
folder_id = var.folder_id
55+
billing_account = var.billing_account
5556
# due to https://github.com/hashicorp/terraform-provider-google/issues/9505 for AP
5657
default_service_account = "keep"
5758

0 commit comments

Comments
 (0)