Skip to content

Commit e0ae3d3

Browse files
authored
Undo bad changes to TestAccDataSourceGoogleServiceAccounts_basic (#15447)
1 parent b692306 commit e0ae3d3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mmv1/third_party/terraform/services/resourcemanager/data_source_google_service_accounts_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,17 @@ data "google_service_accounts" "with_prefix" {
102102
103103
data "google_service_accounts" "with_regex" {
104104
project = local.project_id
105-
regex = ".*%s.*@.*\\.gserviceaccount\\.com"
105+
regex = ".*${google_service_account.sa_one.account_id}.*@.*\\.gserviceaccount\\.com"
106106
}
107107
108108
data "google_service_accounts" "with_prefix_and_regex" {
109109
prefix = google_service_account.sa_one.account_id
110110
project = local.project_id
111-
regex = ".*%s.*@.*\\.gserviceaccount\\.com"
111+
regex = ".*${google_service_account.sa_one.account_id}.*@.*\\.gserviceaccount\\.com"
112112
}
113113
`,
114114
context["project"].(string),
115115
context["sa_1"].(string),
116116
context["sa_2"].(string),
117-
context["sa_1"].(string),
118-
context["sa_1"].(string),
119117
)
120118
}

0 commit comments

Comments
 (0)