diff --git a/mmv1/products/compute/terraform.yaml b/mmv1/products/compute/terraform.yaml index 94daf63b958f..8d52c41e7eac 100644 --- a/mmv1/products/compute/terraform.yaml +++ b/mmv1/products/compute/terraform.yaml @@ -253,7 +253,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides neg_name: "network-endpoint" - !ruby/object:Provider::Terraform::Examples name: "backend_service_external_managed" - min_version: beta primary_resource_id: "default" vars: backend_service_name: "backend-service" @@ -1046,7 +1045,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides - "target" - !ruby/object:Provider::Terraform::Examples name: "global_forwarding_rule_external_managed" - min_version: beta primary_resource_id: "default" vars: forwarding_rule_name: "global-rule" diff --git a/mmv1/templates/terraform/examples/backend_service_external_managed.tf.erb b/mmv1/templates/terraform/examples/backend_service_external_managed.tf.erb index 7b51c837c2d3..4b66fbbea881 100644 --- a/mmv1/templates/terraform/examples/backend_service_external_managed.tf.erb +++ b/mmv1/templates/terraform/examples/backend_service_external_managed.tf.erb @@ -1,12 +1,10 @@ resource "google_compute_backend_service" "<%= ctx[:primary_resource_id] %>" { - provider = google-beta name = "<%= ctx[:vars]['backend_service_name'] %>" health_checks = [google_compute_health_check.default.id] load_balancing_scheme = "EXTERNAL_MANAGED" } resource "google_compute_health_check" "default" { - provider = google-beta name = "<%= ctx[:vars]['health_check_name'] %>" http_health_check { port = 80 diff --git a/mmv1/templates/terraform/examples/global_forwarding_rule_external_managed.tf.erb b/mmv1/templates/terraform/examples/global_forwarding_rule_external_managed.tf.erb index 1d38a0ee420b..1761aaf8bf3b 100644 --- a/mmv1/templates/terraform/examples/global_forwarding_rule_external_managed.tf.erb +++ b/mmv1/templates/terraform/examples/global_forwarding_rule_external_managed.tf.erb @@ -1,5 +1,4 @@ resource "google_compute_global_forwarding_rule" "default" { - provider = google-beta name = "<%= ctx[:vars]['forwarding_rule_name'] %>" target = google_compute_target_http_proxy.default.id port_range = "80" @@ -7,14 +6,12 @@ resource "google_compute_global_forwarding_rule" "default" { } resource "google_compute_target_http_proxy" "default" { - provider = google-beta name = "<%= ctx[:vars]['http_proxy_name'] %>" description = "a description" url_map = google_compute_url_map.default.id } resource "google_compute_url_map" "default" { - provider = google-beta name = "url-map-<%= ctx[:vars]['http_proxy_name'] %>" description = "a description" default_service = google_compute_backend_service.default.id @@ -36,7 +33,6 @@ resource "google_compute_url_map" "default" { } resource "google_compute_backend_service" "default" { - provider = google-beta name = "<%= ctx[:vars]['backend_service_name'] %>" port_name = "http" protocol = "HTTP"