@@ -137,7 +137,6 @@ func TestAccCloudfunctions2functionIamPolicyGenerated(t *testing.T) {
137
137
138
138
func testAccCloudfunctions2functionIamMember_basicGenerated (context map [string ]interface {}) string {
139
139
return acctest .Nprintf (`
140
- # [START functions_v2_basic]
141
140
locals {
142
141
project = "%{project}" # Google Cloud Platform Project ID
143
142
}
@@ -180,7 +179,6 @@ resource "google_cloudfunctions2_function" "function" {
180
179
output "function_uri" {
181
180
value = google_cloudfunctions2_function.function.service_config[0].uri
182
181
}
183
- # [END functions_v2_basic]
184
182
185
183
resource "google_cloudfunctions2_function_iam_member" "foo" {
186
184
project = google_cloudfunctions2_function.function.project
@@ -194,7 +192,6 @@ resource "google_cloudfunctions2_function_iam_member" "foo" {
194
192
195
193
func testAccCloudfunctions2functionIamPolicy_basicGenerated (context map [string ]interface {}) string {
196
194
return acctest .Nprintf (`
197
- # [START functions_v2_basic]
198
195
locals {
199
196
project = "%{project}" # Google Cloud Platform Project ID
200
197
}
@@ -237,7 +234,6 @@ resource "google_cloudfunctions2_function" "function" {
237
234
output "function_uri" {
238
235
value = google_cloudfunctions2_function.function.service_config[0].uri
239
236
}
240
- # [END functions_v2_basic]
241
237
242
238
data "google_iam_policy" "foo" {
243
239
binding {
@@ -266,7 +262,6 @@ data "google_cloudfunctions2_function_iam_policy" "foo" {
266
262
267
263
func testAccCloudfunctions2functionIamPolicy_emptyBinding (context map [string ]interface {}) string {
268
264
return acctest .Nprintf (`
269
- # [START functions_v2_basic]
270
265
locals {
271
266
project = "%{project}" # Google Cloud Platform Project ID
272
267
}
@@ -309,7 +304,6 @@ resource "google_cloudfunctions2_function" "function" {
309
304
output "function_uri" {
310
305
value = google_cloudfunctions2_function.function.service_config[0].uri
311
306
}
312
- # [END functions_v2_basic]
313
307
314
308
data "google_iam_policy" "foo" {
315
309
}
@@ -325,7 +319,6 @@ resource "google_cloudfunctions2_function_iam_policy" "foo" {
325
319
326
320
func testAccCloudfunctions2functionIamBinding_basicGenerated (context map [string ]interface {}) string {
327
321
return acctest .Nprintf (`
328
- # [START functions_v2_basic]
329
322
locals {
330
323
project = "%{project}" # Google Cloud Platform Project ID
331
324
}
@@ -368,7 +361,6 @@ resource "google_cloudfunctions2_function" "function" {
368
361
output "function_uri" {
369
362
value = google_cloudfunctions2_function.function.service_config[0].uri
370
363
}
371
- # [END functions_v2_basic]
372
364
373
365
resource "google_cloudfunctions2_function_iam_binding" "foo" {
374
366
project = google_cloudfunctions2_function.function.project
@@ -382,7 +374,6 @@ resource "google_cloudfunctions2_function_iam_binding" "foo" {
382
374
383
375
func testAccCloudfunctions2functionIamBinding_updateGenerated (context map [string ]interface {}) string {
384
376
return acctest .Nprintf (`
385
- # [START functions_v2_basic]
386
377
locals {
387
378
project = "%{project}" # Google Cloud Platform Project ID
388
379
}
@@ -425,7 +416,6 @@ resource "google_cloudfunctions2_function" "function" {
425
416
output "function_uri" {
426
417
value = google_cloudfunctions2_function.function.service_config[0].uri
427
418
}
428
- # [END functions_v2_basic]
429
419
430
420
resource "google_cloudfunctions2_function_iam_binding" "foo" {
431
421
project = google_cloudfunctions2_function.function.project
0 commit comments