@@ -206,6 +206,15 @@ resource "google_gkeonprem_vmware_cluster" "cluster-manuallb" {
206
206
konnectivity_server_node_port = 30008
207
207
}
208
208
}
209
+ vcenter {
210
+ resource_pool = "test-resource-pool"
211
+ datastore = "test-datastore"
212
+ datacenter = "test-datacenter"
213
+ cluster = "test-cluster"
214
+ folder = "test-folder"
215
+ ca_cert_data = "test-ca-cert-data"
216
+ storage_policy_name = "test-storage-policy-name"
217
+ }
209
218
dataplane_v2 {
210
219
dataplane_v2_enabled = true
211
220
windows_dataplane_v2_enabled = true
@@ -374,6 +383,12 @@ The following arguments are supported:
374
383
Specifies upgrade policy for the cluster.
375
384
Structure is [ documented below] ( #nested_upgrade_policy ) .
376
385
386
+ * ` vcenter ` -
387
+ (Optional)
388
+ VmwareVCenterConfig specifies vCenter config for the user cluster.
389
+ Inherited from the admin cluster.
390
+ Structure is [ documented below] ( #nested_vcenter ) .
391
+
377
392
* ` project ` - (Optional) The ID of the project in which the resource belongs.
378
393
If it is not provided, the provider project is used.
379
394
@@ -664,6 +679,40 @@ The following arguments are supported:
664
679
(Optional)
665
680
Controls whether the upgrade applies to the control plane only.
666
681
682
+ <a name =" nested_vcenter " ></a >The ` vcenter ` block supports:
683
+
684
+ * ` resource_pool ` -
685
+ (Optional)
686
+ The name of the vCenter resource pool for the user cluster.
687
+
688
+ * ` datastore ` -
689
+ (Optional)
690
+ The name of the vCenter datastore for the user cluster.
691
+
692
+ * ` datacenter ` -
693
+ (Optional)
694
+ The name of the vCenter datacenter for the user cluster.
695
+
696
+ * ` cluster ` -
697
+ (Optional)
698
+ The name of the vCenter cluster for the user cluster.
699
+
700
+ * ` folder ` -
701
+ (Optional)
702
+ The name of the vCenter folder for the user cluster.
703
+
704
+ * ` ca_cert_data ` -
705
+ (Optional)
706
+ Contains the vCenter CA certificate public key for SSL verification.
707
+
708
+ * ` address ` -
709
+ (Output)
710
+ The vCenter IP address.
711
+
712
+ * ` storage_policy_name ` -
713
+ (Optional)
714
+ The name of the vCenter storage policy for the user cluster.
715
+
667
716
## Attributes Reference
668
717
669
718
In addition to the arguments listed above, the following computed attributes are exported:
@@ -718,11 +767,6 @@ In addition to the arguments listed above, the following computed attributes are
718
767
Fleet configuration for the cluster.
719
768
Structure is [ documented below] ( #nested_fleet ) .
720
769
721
- * ` vcenter ` -
722
- VmwareVCenterConfig specifies vCenter config for the user cluster.
723
- Inherited from the admin cluster.
724
- Structure is [ documented below] ( #nested_vcenter ) .
725
-
726
770
* ` status ` -
727
771
ResourceStatus representing detailed cluster state.
728
772
Structure is [ documented below] ( #nested_status ) .
@@ -785,40 +829,6 @@ In addition to the arguments listed above, the following computed attributes are
785
829
Membership names are formatted as
786
830
` projects/<project-number>/locations/<location>/memberships/<cluster-id> ` .
787
831
788
- <a name =" nested_vcenter " ></a >The ` vcenter ` block contains:
789
-
790
- * ` resource_pool ` -
791
- (Output)
792
- The name of the vCenter resource pool for the user cluster.
793
-
794
- * ` datastore ` -
795
- (Output)
796
- The name of the vCenter datastore for the user cluster.
797
-
798
- * ` datacenter ` -
799
- (Output)
800
- The name of the vCenter datacenter for the user cluster.
801
-
802
- * ` cluster ` -
803
- (Output)
804
- The name of the vCenter cluster for the user cluster.
805
-
806
- * ` folder ` -
807
- (Output)
808
- The name of the vCenter folder for the user cluster.
809
-
810
- * ` ca_cert_data ` -
811
- (Output)
812
- Contains the vCenter CA certificate public key for SSL verification.
813
-
814
- * ` address ` -
815
- (Output)
816
- The vCenter IP address.
817
-
818
- * ` storage_policy_name ` -
819
- (Output)
820
- The name of the vCenter storage policy for the user cluster.
821
-
822
832
<a name =" nested_status " ></a >The ` status ` block contains:
823
833
824
834
* ` error_message ` -
0 commit comments