Skip to content

Commit

Permalink
Allow vcenter_network to be set (#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 committed Mar 7, 2024
1 parent 787da35 commit bbb0721
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 bbb0721

Please sign in to comment.