File tree 1 file changed +28
-0
lines changed
mmv1/third_party/terraform/services/cloudrunv2
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -1383,3 +1383,31 @@ resource "google_cloud_run_v2_service" "default" {
1383
1383
`, context)
1384
1384
}
1385
1385
{{- end }}
1386
+
1387
+ func testAccCloudRunV2Service_withInvokerIamDisabled(context map[string]interface{}) string {
1388
+ return acctest.Nprintf(`
1389
+ resource "google_cloud_run_v2_service" "default" {
1390
+ name = "tf-test-cloudrun-service%{random_suffix}"
1391
+ description = "publicly available service with no IAM check"
1392
+ location = "us-central1"
1393
+ deletion_protection = false
1394
+ annotations = {
1395
+ generated-by = "magic-modules"
1396
+ }
1397
+ ingress = "INGRESS_TRAFFIC_ALL"
1398
+ labels = {
1399
+ label-1 = "value-1"
1400
+ }
1401
+ client = "client-1"
1402
+ client_version = "client-version-1"
1403
+ invoker_iam_disabled = true
1404
+ template {
1405
+ containers {
1406
+ name = "container-1"
1407
+ image = "us-docker.pkg.dev/cloudrun/container/hello"
1408
+ }
1409
+ }
1410
+ }
1411
+
1412
+ `, context)
1413
+ }
You can’t perform that action at this time.
0 commit comments