Sample Exchange

 View Only

Sample Terraform Configuration file validated with a VMware Cloud on AWS vCenter 

Oct 23, 2019 08:49 PM

Sample Terraform Configuration file validated with a VMware Cloud on AWS vCenter

Nico's Terraform Scripts

These scripts are for Terraform for vSphere.

You will need to download provider.tf, vars.tf and terraform.tfvars file.

I have uploaded a working template for Windows and for Linux.

If you're new to Terraform:

On Mac, the easiest thing would be to:

  • Install brew : https://brew.sh/
  • Install Terraform using brew : brew install terraform

On Windows or other platforms, you can always download it from Hashicorp: https://www.terraform.io/downloads.html

  • Download the files from the repo
  • Update the files with the right variables (cluster, resource pool, template, network, passwords, etc... )
  • Run the following commands (make sure Terraform is in the PATH or if not, that the files are in the same place as your Terraform exe if you're using Windows):
    • terraform init
    • terraform plan
    • terraform apply
    • [terraform destroy]

#OtherLanguage
#VMC
#Apache2.0
#VMwareCloudonAWS
#terraform
#hashicorp

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
terraform-master.zip   2 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.