Versions Compared

Key

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

...

Deploying an AWS Terraform Blueprint is a three-step process where you’ll need to:

  1. Create a Terraform-based Blueprint.

  2. Provision your Microsoft Azure resource using Terraform Blueprint

  3. Deploy your Blueprint

Note

Before you begin
Ensure that you have access to at least one resource pool.

Configure

...

a Terraform Backend State

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.

...

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

Create a Terraform

...

Blueprint

Your Terraform based blueprints help you to create an Infrastructure of your cloud environment.

...

  1. Login to the HCP account with your credentials.

  2. Click  Services Orchestration > Select AppStore > Click on New > Select Terraform.

  3. Enter the Following details in your Terraform blueprint:

    1. Enter a Namefor the Terraform Template, Example: AWS S3 Bucket.

    2. This is an optional step, enter a brief Description, for Example: Terraform Template to AWS S3 bucket.

    3. Click on Choose File and upload the aws-s3-bucket-tf.zip file

    4. This is an optional step, configure a version, Example: 1.0

    5. Select the Cloud Type from the drop-down: select AWS.

    6. To your entitled users:

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

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

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

      4. Select All Tenants (Only available to Cloud Admins): if the template is to be shared with all tenants.

  1. Click Create

Provision

...

your Terraform

...

Blueprint

You can provision your Terreform Blueprints in the Amazon Web Service(AWS) resource once you have created Terraform workspace.

...