Skip to content

Commit

Permalink
Add tf-test- prefix to gkehub2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson committed Nov 27, 2023
1 parent 06cc230 commit 3c63cca
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions mmv1/products/gkehub/Membership.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ examples:
primary_resource_id: 'membership'
vars:
name: 'basic'
cluster_name: 'basiccluster'
cluster_name: 'basic-cluster'
test_env_vars:
project: :PROJECT_NAME
location: :REGION
Expand All @@ -71,7 +71,7 @@ examples:
primary_resource_id: 'membership'
vars:
name: 'basic'
cluster_name: 'basiccluster'
cluster_name: 'basic-cluster'
deletion_protection: 'true'
test_vars_overrides:
deletion_protection: 'false'
Expand All @@ -82,7 +82,7 @@ examples:
primary_resource_id: 'membership'
vars:
name: 'basic'
cluster_name: 'basiccluster'
cluster_name: 'basic-cluster'
deletion_protection: 'true'
test_vars_overrides:
deletion_protection: 'false'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/gkehub2/MembershipBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ examples:
primary_resource_name: "fmt.Sprintf(\"tf-test-membership%s\", context[\"random_suffix\"]), fmt.Sprintf(\"tf-test-membership-binding%s\", context[\"random_suffix\"])"
primary_resource_id: "membership_binding"
vars:
cluster_name: "basiccluster"
cluster_name: "basic-cluster"
deletion_protection: 'true'
test_vars_overrides:
deletion_protection: 'false'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/products/gkehub2/MembershipRBACRoleBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ examples:
primary_resource_id: 'membership_rbac_role_binding'
min_version: beta
vars:
cluster_name: "basiccluster"
cluster_name: "basic-cluster"
deletion_protection: 'true'
test_vars_overrides:
deletion_protection: 'false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestAccGKEHub2MembershipBinding_gkehubMembershipBindingBasicExample_update(
func testAccGKEHub2MembershipBinding_gkehubMembershipBindingBasicExample_basic(context map[string]interface{}) string {
return acctest.Nprintf(`
resource "google_container_cluster" "primary" {
name = "basiccluster%{random_suffix}"
name = "tf-test-basic-cluster%{random_suffix}"
location = "us-central1-a"
initial_node_count = 1
deletion_protection = false
Expand Down Expand Up @@ -89,7 +89,7 @@ resource "google_gke_hub_membership_binding" "example" {
func testAccGKEHub2MembershipBinding_gkehubMembershipBindingBasicExample_update(context map[string]interface{}) string {
return acctest.Nprintf(`
resource "google_container_cluster" "primary" {
name = "basiccluster%{random_suffix}"
name = "tf-test-basic-cluster%{random_suffix}"
location = "us-central1-a"
initial_node_count = 1
deletion_protection = false
Expand Down

0 comments on commit 3c63cca

Please sign in to comment.