Skip to content

Commit 46d08a3

Browse files
Fix project prefixes to be sweepable (#7384) (#13884)
Signed-off-by: Modular Magician <[email protected]>
1 parent e2b83d1 commit 46d08a3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.changelog/7384.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google/resource_google_project_default_service_accounts_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestAccResourceGoogleProjectDefaultServiceAccountsBasic(t *testing.T) {
1515

1616
resourceName := "google_project_default_service_accounts.acceptance"
1717
org := getTestOrgFromEnv(t)
18-
project := fmt.Sprintf("tf-project-%d", randInt(t))
18+
project := fmt.Sprintf("tf-test-%d", randInt(t))
1919
billingAccount := getTestBillingAccountFromEnv(t)
2020

2121
vcrTest(t, resource.TestCase{
@@ -55,7 +55,7 @@ func TestAccResourceGoogleProjectDefaultServiceAccountsDisable(t *testing.T) {
5555
t.Parallel()
5656

5757
org := getTestOrgFromEnv(t)
58-
project := fmt.Sprintf("tf-project-%d", randInt(t))
58+
project := fmt.Sprintf("tf-test-%d", randInt(t))
5959
billingAccount := getTestBillingAccountFromEnv(t)
6060
action := "DISABLE"
6161
restorePolicy := "REVERT"
@@ -84,7 +84,7 @@ func TestAccResourceGoogleProjectDefaultServiceAccountsDelete(t *testing.T) {
8484
t.Parallel()
8585

8686
org := getTestOrgFromEnv(t)
87-
project := fmt.Sprintf("tf-project-%d", randInt(t))
87+
project := fmt.Sprintf("tf-test-%d", randInt(t))
8888
billingAccount := getTestBillingAccountFromEnv(t)
8989
action := "DELETE"
9090
restorePolicy := "REVERT"
@@ -113,7 +113,7 @@ func TestAccResourceGoogleProjectDefaultServiceAccountsDeleteRevertIgnoreFailure
113113
t.Parallel()
114114

115115
org := getTestOrgFromEnv(t)
116-
project := fmt.Sprintf("tf-project-%d", randInt(t))
116+
project := fmt.Sprintf("tf-test-%d", randInt(t))
117117
billingAccount := getTestBillingAccountFromEnv(t)
118118
action := "DELETE"
119119
restorePolicy := "REVERT_AND_IGNORE_FAILURE"
@@ -141,7 +141,7 @@ func TestAccResourceGoogleProjectDefaultServiceAccountsDeprivilege(t *testing.T)
141141
t.Parallel()
142142

143143
org := getTestOrgFromEnv(t)
144-
project := fmt.Sprintf("tf-project-%d", randInt(t))
144+
project := fmt.Sprintf("tf-test-%d", randInt(t))
145145
billingAccount := getTestBillingAccountFromEnv(t)
146146
action := "DEPRIVILEGE"
147147
restorePolicy := "REVERT"

0 commit comments

Comments
 (0)