File tree Expand file tree Collapse file tree 5 files changed +25
-2
lines changed
cloud-infrastructure/vmware-solutions/oracle-cloud-vmware-solution/OCVS-Terraform-automation Expand file tree Collapse file tree 5 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 3
3
.AppleDouble
4
4
.LSOverride
5
5
.vscode
6
+ .bak
6
7
7
8
# Icon must end with two \r
8
9
Icon
Original file line number Diff line number Diff line change
1
+ resource "oci_ocvp_esxi_host" "test_esxi_host" {
2
+ cluster_id = var. SDDC_Cluster_OCID
3
+ compute_availability_domain = var. AD
4
+ display_name = var. ESXi_hostname
5
+ host_shape_name = var. shape
6
+ host_ocpu_count = var. OCPU_count
7
+ }
Original file line number Diff line number Diff line change
1
+ provider oci {
2
+ region = var. region
3
+ }
Original file line number Diff line number Diff line change
1
+ variable region {default = " your_region" }
2
+ variable SDDC_Cluster_OCID {default = " OCID of your Cluster (not SDDC)" }
3
+ variable ESXi_hostname {default = " ESXi-hostname" }
4
+ variable shape {default = " BM.DenseIO.E4.128" } # possible: "BM.DenseIO.E4.128" or "BM.DenseIO2.52"
5
+ variable OCPU_count {default = 32 } # For AMD only, possible: 32, 64 or 128
6
+
7
+ # You need to specify the full name of your AD!!
8
+ # so for example "EU-FRANKFURT-1-AD-3" it NOT correct, it need to look like "ABCd:EU-FRANKFURT-1-AD-3"
9
+ # You can run the below command from the OCI CLI or cloud shell to see your AD names:
10
+ # oci iam availability-domain list
11
+ variable AD {default = " your_full-region-and-AD-name" }
Original file line number Diff line number Diff line change 1
1
# Oracle Cloud VMware Solution - Terraform Automation
2
2
3
3
Terraform can be used both to provision and manage an OCVS environment. In the folders in this directory
4
- you will find examples for both scenarios:
4
+ you will find examples for various scenarios:
5
5
6
6
- Provisioning OCVS through terraform (3 different scenarios are included)
7
+ - Adding an ESXi host to a multi-ad deployment, with the option to specify it's AD location
7
8
- Manage OCVS (2-day operations), creating a new VLAN and attaching it to the OCVS environment
8
9
9
10
Examples created by:
[email protected] (feedback welcome!)
10
11
11
12
# License
12
13
Copyright (c) 2024 Oracle and/or its affiliates.
13
14
Licensed under the Universal Permissive License (UPL), Version 1.0.
14
- See [ LICENSE] ( https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE ) for more details.
15
+ See [ LICENSE] ( https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE ) for more details.
You can’t perform that action at this time.
0 commit comments