Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16659,6 +16659,7 @@ resource "google_container_cluster" "with_kubelet_config" {
`, clusterName, networkName, subnetworkName, npName, npName)
}

{{ if ne $.TargetVersionName `ga` -}}
func testAccContainerCluster_nodePool_acceleratorNetworkProfile(clusterName string) string {
return fmt.Sprintf(`
resource "google_container_cluster" "primary" {
Expand Down Expand Up @@ -16741,7 +16742,9 @@ func TestAccContainerCluster_nodePool_acceleratorNetworkProfile(t *testing.T) {
},
})
}
{{- end }}

{{ if ne $.TargetVersionName `ga` -}}
func testAccContainerCluster_nodePool_additionalNodeNetworkConfigs_manual(clusterName string) string {
return fmt.Sprintf(`
resource "google_compute_network" "main_net" {
Expand Down Expand Up @@ -17035,4 +17038,5 @@ func TestAccContainerCluster_nodePool_acceleratorNetworkProfile_Lifecycle(t *tes
},
},
})
}
}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -6501,6 +6501,7 @@ resource "google_container_node_pool" "np" {
`, cluster, np, networkName, subnetworkName, storagePoolResourceName, location)
}

{{ if ne $.TargetVersionName `ga` -}}
func testAccContainerNodePool_acceleratorNetworkProfile(clusterName, npName string) string {
return fmt.Sprintf(`
resource "google_container_cluster" "primary" {
Expand Down Expand Up @@ -6594,7 +6595,9 @@ func TestAccContainerNodePool_acceleratorNetworkProfile(t *testing.T) {
},
})
}
{{- end }}

{{ if ne $.TargetVersionName `ga` -}}
func testAccContainerNodePool_acceleratorNetworkProfile_manual(clusterName, npName string) string {
return fmt.Sprintf(`
resource "google_compute_network" "main_net" {
Expand Down Expand Up @@ -6899,5 +6902,5 @@ func TestAccContainerNodePool_acceleratorNetworkProfile_Lifecycle(t *testing.T)
},
})
}

{{- end }}

Loading