Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
p1
Sep 2, 2020
p2
Sep 1, 2020
p3
Sep 1, 2020

Readme.md

Terraform multi-phase / multi-providers

Make sure your AWS account is linked to your ORG

  • run VMC Cloud Formation template if not

Variables

Some variables need to be defined before we start.

Set the proper credentials in deploy-lab.sh

deploy-lab.sh
  • Org ID

    • long format like 2a8ac0ba-c93d-xxxx-xxxx-7dc9918beaa5
  • API Token

    • Your API Token
  • AWS Account

    • SET EMEA Account: 6140xxxxxxxx
  • AWS Access Key

  • AWS Secret Key

1 - Terraform Phase 1 (AWS)

p1/main/variables.tf
  • variable "AWS_region" {default = "us-west-2"}

AWS public keys:

We are deploying an EC2 as our Terraform host for Phase3 - make sure the AWS public key has 400 permissions and it's coming from the SAME account you deployed the AWS infrastructure.

2 - Terraform Phase 2 (NSXT)

p2/main/variables.tf

Deploy lab

source deploy-lab.sh

1 - (p1) SDDC deployment

  • outputs are printed

pause (press Enter or ^c)

2 - (p2) NSXT

  • FW rules

pause (press Enter or ^c)

3- Copy files to EC2

About

VMworld 2020 Terraform session code

Resources

Releases

No releases published

Packages

No packages published