Created
June 23, 2020 16:19
-
-
Save lamw/a9ab09834a806505fd02415ed2b85131 to your computer and use it in GitHub Desktop.
VMC Terraform Provider for deploying 1 & 2 Node SDDC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1-Node SDDC | |
provider "vmc" { | |
refresh_token = var.refresh_token | |
org_id = var.org_id | |
} | |
resource "vmc_sddc" "sddc_1" { | |
sddc_name = "1-Node-SDDC" | |
num_host = 1 | |
deployment_type = "SingleAZ" | |
sddc_type = "1NODE1" | |
provider_type = "AWS" | |
host_instance_type = "I3_METAL" | |
region = "US_WEST_2" | |
vpc_cidr = "10.5.0.0/16" | |
} | |
# 2-Node SDDC | |
provider "vmc" { | |
refresh_token = var.refresh_token | |
org_id = var.org_id | |
} | |
resource "vmc_sddc" "sddc_1" { | |
sddc_name = "2-Node-SDDC" | |
num_host = 2 | |
deployment_type = "SingleAZ" | |
provider_type = "AWS" | |
host_instance_type = "I3_METAL" | |
region = "US_WEST_2" | |
vpc_cidr = "10.5.0.0/16" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment