Skip to content

Commit 45c56ee

Browse files
Merge branch 'main' into security-oci-security-health-check.update-240305
2 parents 3800c6b + 97f795b commit 45c56ee

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.AppleDouble
44
.LSOverride
55
.vscode
6+
.bak
67

78
# Icon must end with two \r
89
Icon
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
provider oci {
2+
region = var.region
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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"}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Oracle Cloud VMware Solution - Terraform Automation
22

33
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:
55

66
- 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
78
- Manage OCVS (2-day operations), creating a new VLAN and attaching it to the OCVS environment
89

910
Examples created by: [email protected] (feedback welcome!)
1011

1112
# License
1213
Copyright (c) 2024 Oracle and/or its affiliates.
1314
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.

0 commit comments

Comments
 (0)