Skip to content

Randomize network name in the basic cluster#1277

Merged
modular-magician merged 1 commit intoterraform-google-modules:masterfrom
modular-magician:downstream-pr-f10af4258e419f60d1c2a4bc5321d1577ae097b0
Apr 8, 2026
Merged

Randomize network name in the basic cluster#1277
modular-magician merged 1 commit intoterraform-google-modules:masterfrom
modular-magician:downstream-pr-f10af4258e419f60d1c2a4bc5321d1577ae097b0

Conversation

@modular-magician
Copy link
Copy Markdown
Collaborator

Fixes b/499445670
Fixes hashicorp/terraform-provider-google#26761

Description

This PR fixes a failing acceptance test caused by a hardcoded network name (cluster-net1) colliding across test runs in the shared CI project.

It replaces the hardcoded string in the hypercomputecluster_cluster_basic.tf.tmpl file with a variable, and configures the Cluster.yaml file to inject a randomized suffix during test execution using test_vars_overrides.

Randomize network name in the basic cluster test to prevent collisions

Derived from GoogleCloudPlatform/magic-modules#17012

[upstream:f10af4258e419f60d1c2a4bc5321d1577ae097b0]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 658f994 into terraform-google-modules:master Apr 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test(s): TestAccHypercomputeclusterCluster_hypercomputeclusterClusterBasicExample

1 participant