File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ type GCPCommonNetworkConfig struct {
6666}
6767
6868type GCPNetwork struct {
69+ NetworkID string `json:"network_id,omitempty"`
6970 GCPManagedNetworkConfig * GCPManagedNetworkConfig `json:"gcp_managed_network_config"`
7071 GCPCommonNetworkConfig * GCPCommonNetworkConfig `json:"gcp_common_network_config"`
7172}
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ func TestResourceWorkspaceCreateGcp(t *testing.T) {
129129 },
130130 "location" : "bcd" ,
131131 "network" : map [string ]interface {}{
132+ "network_id" : "net_id_a" ,
132133 "gcp_common_network_config" : map [string ]interface {}{
133134 "gke_cluster_master_ip_range" : "e" ,
134135 "gke_connectivity_type" : "d" ,
@@ -173,6 +174,7 @@ func TestResourceWorkspaceCreateGcp(t *testing.T) {
173174 }
174175 }
175176 network {
177+ network_id = "net_id_a"
176178 gcp_managed_network_config {
177179 subnet_cidr = "a"
178180 gke_cluster_pod_ip_range = "b"
You can’t perform that action at this time.
0 commit comments