Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1002 Bytes

File metadata and controls

26 lines (19 loc) · 1002 Bytes

cloud_account_vsphere example

This is an example on how to setup a cloud account for vSphere along with zones and a project.

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 credentials for connecting to the vCenter instance, and the name of the data collector already setup in vRA.

  • url - The URL for the vRealize Automation (vRA) endpoint
  • refresh_token - The refresh token for the vRA account
  • username - username for vCenter
  • password - password for vCenter
  • hostname - hostname for vCenter
  • datacollector - the name for the data collector already setup for the vCenter account

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

cp terraform.tfvars.sample terraform.tfvars

Once the information is added to terraform.tfvars, the cloud account can be brought up via:

terraform init
terraform apply