Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Amazon Web Services(AWS) is a subsidiary of Amazon that provides on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis.

Configure A Terraform Backend State (AWS)

To provision, your Terraform requires a backend state configured via the HyperCloud™ Platform(HCP). The backend state in Terraform preserves the current state of the deployment. (Refer Note 1)

...

Note

  • All values must be enclosed in double-quotes.

  • Terraform Template provides the information regarding, Overlapping the Existing Workspace that may destroy the existing deployment.

  • If this is the first time a Terraform template is being deployed, ensure no resources are updated or deleted.

  • If so verify that this is intentional and then proceed to the next step.

Create Your Terraform Workspace

The Workspaces are collections of infrastructure when you run locally, Terraform manages each collection of infrastructure with a persistent working directory, which contains a configuration, state data, and variables. The Terraform cloud manages infrastructure collections with workspaces instead of directories. The terraform workspace organizes your infrastructure in a good manner into groups. You can create your new workspace to manage your collection of infrastructure resources.

You can use the following steps to Create your Terraform Workspace:

  1. Login to the HyperCloud™ Platform(HCP) with your credentials.

  2. Click Services Orchestration > Select Services > Click on Infra as Code >Click on Workspace > Click on +New workspace.

  3. Enter the following details in your new Workspace:

    1. Enter the name Example: hgprodawswks1

    2. Enter a brief description of your new workspace.

    3. Select a suitable environment for your new workspace, Example: dev.

    4. Select the Cloud Type from the drop-down list, Example: AWS.

    5. Select the Resource pool, Example: RP.AWS.ap-southeast-1a.<RP-Name>(Refer Note (1))

    6. Backend State: select a backend state for Example: hgprodawsbs1.

    7. To your Entitled Users:

      • Select Only Me: If this template is not meant to be shared

      • Select Everyone: If this template is to be shared with everyone in the Tenant

      • Select Groups & Users: if the template is to be shared with specific users or groups

  4. Click New Workspace.

Note

  • (1)In this release, the resource pool is only required to obtain the cloud provider information.

    • Terraform deployment does not account against the limits in the resource pool