diff --git a/mmv1/products/compute/Subnetwork.yaml b/mmv1/products/compute/Subnetwork.yaml index eaed572830aa..6aa5959546ea 100644 --- a/mmv1/products/compute/Subnetwork.yaml +++ b/mmv1/products/compute/Subnetwork.yaml @@ -131,7 +131,7 @@ examples: subnetwork_name: 'subnet-ipv6-only' network_name: 'network-ipv6-only' - name: 'subnetwork_ipv6_only_external' - primary_resource_id: 'subnetwork-ipv6-only-external' + primary_resource_id: 'subnetwork-ipv6-only' exclude_docs: true vars: subnetwork_name: 'subnet-ipv6-only' diff --git a/mmv1/templates/terraform/examples/subnetwork_ipv6_only_internal.tf.tmpl b/mmv1/templates/terraform/examples/subnetwork_ipv6_only_internal.tf.tmpl index e9cc0f2de226..22de9abc33a1 100644 --- a/mmv1/templates/terraform/examples/subnetwork_ipv6_only_internal.tf.tmpl +++ b/mmv1/templates/terraform/examples/subnetwork_ipv6_only_internal.tf.tmpl @@ -9,4 +9,5 @@ resource "google_compute_subnetwork" "subnetwork-ipv6-only" { resource "google_compute_network" "custom-test" { name = "{{index $.Vars "network_name"}}" auto_create_subnetworks = false + enable_ula_internal_ipv6 = true } diff --git a/mmv1/third_party/terraform/services/compute/resource_compute_instance_test.go.tmpl b/mmv1/third_party/terraform/services/compute/resource_compute_instance_test.go.tmpl index 773f24b25294..47177c210383 100644 --- a/mmv1/third_party/terraform/services/compute/resource_compute_instance_test.go.tmpl +++ b/mmv1/third_party/terraform/services/compute/resource_compute_instance_test.go.tmpl @@ -4278,7 +4278,7 @@ func TestAccComputeInstance_NicStackTypeUpdate(t *testing.T) { }) } -func TestAccComputeINstance_NicStackType_IPV6(t *testing.T) { +func TestAccComputeInstance_NicStackType_IPV6(t *testing.T) { t.Parallel() context := map[string]interface{}{ "instance_name": fmt.Sprintf("tf-test-compute-instance-%s", acctest.RandString(t, 10)), @@ -11425,6 +11425,10 @@ resource "google_compute_instance" "foobar" { network = google_compute_network.inst-test-network.id subnetwork = google_compute_subnetwork.inst-test-subnetwork.id stack_type = "IPV6_ONLY" + + ipv6_access_config { + network_tier = "PREMIUM" + } } } `, context)