Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.27 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.27 KB

zone example

This is an example on how to create a compute placement zone within a region of an existing cloud account.

Getting Started

There are variables which need to be added to terraform.tfvars. The first are for connecting to the vRealize Automation (vRA) endpoint. There are names of cloud_account, region, already setup in vRA.

  • url - The URL for the vRealize Automation (vRA) endpoint
  • refresh_token - The refresh token for the vRA account
  • cloud_account - The name of the cloud account added in vRA
  • region - The region within in the cloud account

To facilitate adding these variables, a sample tfvars file can be copied first:

cp terraform.tfvars.sample terraform.tfvars

To create a zone, a cloud account must be setup in vRA and the region must be identified within which the zone will be created.

Follow these examples for setting up specific cloud accounts:

Once the information is added to terraform.tfvars, the zones can be created via:

terraform init
terraform apply