Skip to content

Commit a73b8c8

Browse files
Remove the beta label from url disabled (#15256) (#10815)
[upstream:4432cde4dfa26f186a066770cafb27b6f74ebe90] Signed-off-by: Modular Magician <[email protected]>
1 parent 97e5167 commit a73b8c8

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.changelog/15256.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
cloudrunv2: added `default_uri_disabled` field in `google_cloud_run_v2_service` resource (GA)
3+
```

google-beta/services/cloudrunv2/resource_cloud_run_v2_service_test.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ func TestAccCloudRunV2Service_cloudrunv2ServiceWithDefaultUriDisabled(t *testing
11741174
ResourceName: "google_cloud_run_v2_service.default",
11751175
ImportState: true,
11761176
ImportStateVerify: true,
1177-
ImportStateVerifyIgnore: []string{"name", "location", "annotations", "labels", "terraform_labels", "launch_stage", "deletion_protection"},
1177+
ImportStateVerifyIgnore: []string{"name", "location", "annotations", "labels", "terraform_labels", "deletion_protection"},
11781178
},
11791179
{
11801180
Config: testAccCloudRunV2Service_cloudrunv2ServiceWithNoMinInstances(context),
@@ -1183,7 +1183,7 @@ func TestAccCloudRunV2Service_cloudrunv2ServiceWithDefaultUriDisabled(t *testing
11831183
ResourceName: "google_cloud_run_v2_service.default",
11841184
ImportState: true,
11851185
ImportStateVerify: true,
1186-
ImportStateVerifyIgnore: []string{"name", "location", "annotations", "labels", "terraform_labels", "launch_stage", "deletion_protection"},
1186+
ImportStateVerifyIgnore: []string{"name", "location", "annotations", "labels", "terraform_labels", "deletion_protection"},
11871187
},
11881188
},
11891189
})
@@ -1196,7 +1196,6 @@ resource "google_cloud_run_v2_service" "default" {
11961196
description = "description creating"
11971197
location = "us-central1"
11981198
deletion_protection = false
1199-
launch_stage = "BETA"
12001199
annotations = {
12011200
generated-by = "magic-modules"
12021201
}
@@ -1216,11 +1215,6 @@ resource "google_cloud_run_v2_service" "default" {
12161215
image = "us-docker.pkg.dev/cloudrun/container/hello"
12171216
}
12181217
}
1219-
lifecycle {
1220-
ignore_changes = [
1221-
launch_stage,
1222-
]
1223-
}
12241218
}
12251219
12261220
`, context)

website/docs/r/cloud_run_v2_service.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ The following arguments are supported:
769769
Structure is [documented below](#nested_scaling).
770770

771771
* `default_uri_disabled` -
772-
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
772+
(Optional)
773773
Disables public resolution of the default URI of this service.
774774

775775
* `traffic` -

0 commit comments

Comments
 (0)