Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karolgorc committed Jan 7, 2025
1 parent e0b377f commit 3796788
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mmv1/products/compute/Subnetwork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3796788

Please sign in to comment.