Skip to content

Commit 3796788

Browse files
committed
fix tests
1 parent e0b377f commit 3796788

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

mmv1/products/compute/Subnetwork.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ examples:
131131
subnetwork_name: 'subnet-ipv6-only'
132132
network_name: 'network-ipv6-only'
133133
- name: 'subnetwork_ipv6_only_external'
134-
primary_resource_id: 'subnetwork-ipv6-only-external'
134+
primary_resource_id: 'subnetwork-ipv6-only'
135135
exclude_docs: true
136136
vars:
137137
subnetwork_name: 'subnet-ipv6-only'

mmv1/templates/terraform/examples/subnetwork_ipv6_only_internal.tf.tmpl

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ resource "google_compute_subnetwork" "subnetwork-ipv6-only" {
99
resource "google_compute_network" "custom-test" {
1010
name = "{{index $.Vars "network_name"}}"
1111
auto_create_subnetworks = false
12+
enable_ula_internal_ipv6 = true
1213
}

mmv1/third_party/terraform/services/compute/resource_compute_instance_test.go.tmpl

+5-1
Original file line numberDiff line numberDiff line change
@@ -4278,7 +4278,7 @@ func TestAccComputeInstance_NicStackTypeUpdate(t *testing.T) {
42784278
})
42794279
}
42804280

4281-
func TestAccComputeINstance_NicStackType_IPV6(t *testing.T) {
4281+
func TestAccComputeInstance_NicStackType_IPV6(t *testing.T) {
42824282
t.Parallel()
42834283
context := map[string]interface{}{
42844284
"instance_name": fmt.Sprintf("tf-test-compute-instance-%s", acctest.RandString(t, 10)),
@@ -11425,6 +11425,10 @@ resource "google_compute_instance" "foobar" {
1142511425
network = google_compute_network.inst-test-network.id
1142611426
subnetwork = google_compute_subnetwork.inst-test-subnetwork.id
1142711427
stack_type = "IPV6_ONLY"
11428+
11429+
ipv6_access_config {
11430+
network_tier = "PREMIUM"
11431+
}
1142811432
}
1142911433
}
1143011434
`, context)

0 commit comments

Comments
 (0)