Skip to content

Commit

Permalink
Allow vcenter_network to be set (GoogleCloudPlatform#9946)
Browse files Browse the repository at this point in the history
* Allow vcenter_network to be set

* set default from api
  • Loading branch information
naitianliu-google authored and Charles Leon committed Mar 11, 2024
1 parent cbea568 commit 880347a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mmv1/products/gkeonprem/VmwareCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ properties:
description:
vcenter_network specifies vCenter network name. Inherited from the
admin cluster.
output: true
immutable: true
default_from_api: true
- !ruby/object:Api::Type::NestedObject
name: 'hostConfig'
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ resource "google_gkeonprem_vmware_cluster" "<%= ctx[:primary_resource_id] %>" {
gateway="test-gateway"
}
}
vcenter_network = "test-vcenter-network"
}
control_plane_node {
cpus = 4
Expand Down

0 comments on commit 880347a

Please sign in to comment.