Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 922 Bytes

File metadata and controls

53 lines (35 loc) · 922 Bytes

Example

Cluster Management for SDDC

This is an example that demonstrates cluster management actions like creating, updating, and deleting a cluster for an SDDC.

To run the example:

  • Generate an API token using VMware Cloud on AWS console.

  • Update the required parameters api_token and org_id in the variables.tf with your infrastructure settings.

  • Load the provider:

    terraform init
  • Run the plan:

    terraform apply

    or

    terraform apply -var="api_token=xxxx" -var="org_id=xxxx"

    Verify cluster has been created successfully.

  • Check the state:

    terraform show
  • Delete the cluster

    terraform destroy

    or

    terraform destroy -var="api_token=xxxx" -var="org_id=xxxx"