@@ -178,27 +178,46 @@ func TestAccProjectServices_ignoreUnenablableServices(t *testing.T) {
178
178
})
179
179
}
180
180
181
- func TestAccProjectServices_manyServices (t * testing.T ) {
181
+ func TestAccProjectServices_pagination (t * testing.T ) {
182
182
t .Parallel ()
183
183
184
184
org := getTestOrgFromEnv (t )
185
185
billingId := getTestBillingAccountFromEnv (t )
186
186
pid := "terraform-" + acctest .RandString (10 )
187
+
188
+ // we need at least 50 services (doesn't matter what they are) to exercise the
189
+ // pagination handling code.
187
190
services := []string {
191
+ "actions.googleapis.com" ,
192
+ "appengine.googleapis.com" ,
193
+ "appengineflex.googleapis.com" ,
188
194
"bigquery-json.googleapis.com" ,
195
+ "bigquerydatatransfer.googleapis.com" ,
196
+ "bigtableadmin.googleapis.com" ,
197
+ "bigtabletableadmin.googleapis.com" ,
189
198
"cloudbuild.googleapis.com" ,
199
+ "clouderrorreporting.googleapis.com" ,
190
200
"cloudfunctions.googleapis.com" ,
201
+ "cloudiot.googleapis.com" ,
202
+ "cloudkms.googleapis.com" ,
203
+ "cloudmonitoring.googleapis.com" ,
191
204
"cloudresourcemanager.googleapis.com" ,
192
205
"cloudtrace.googleapis.com" ,
193
206
"compute.googleapis.com" ,
194
207
"container.googleapis.com" ,
195
208
"containerregistry.googleapis.com" ,
196
209
"dataflow.googleapis.com" ,
197
210
"dataproc.googleapis.com" ,
211
+ "datastore.googleapis.com" ,
198
212
"deploymentmanager.googleapis.com" ,
213
+ "dialogflow.googleapis.com" ,
199
214
"dns.googleapis.com" ,
200
215
"endpoints.googleapis.com" ,
216
+ "firebaserules.googleapis.com" ,
217
+ "firestore.googleapis.com" ,
218
+ "genomics.googleapis.com" ,
201
219
"iam.googleapis.com" ,
220
+ "language.googleapis.com" ,
202
221
"logging.googleapis.com" ,
203
222
"ml.googleapis.com" ,
204
223
"monitoring.googleapis.com" ,
@@ -212,8 +231,17 @@ func TestAccProjectServices_manyServices(t *testing.T) {
212
231
"servicemanagement.googleapis.com" ,
213
232
"sourcerepo.googleapis.com" ,
214
233
"spanner.googleapis.com" ,
234
+ "speech.googleapis.com" ,
235
+ "sql-component.googleapis.com" ,
215
236
"storage-api.googleapis.com" ,
216
237
"storage-component.googleapis.com" ,
238
+ "storagetransfer.googleapis.com" ,
239
+ "testing.googleapis.com" ,
240
+ "toolresults.googleapis.com" ,
241
+ "translate.googleapis.com" ,
242
+ "videointelligence.googleapis.com" ,
243
+ "vision.googleapis.com" ,
244
+ "zync.googleapis.com" ,
217
245
}
218
246
219
247
resource .Test (t , resource.TestCase {
0 commit comments