Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Overview


 This topic describes the steps to create a Terraform based HyperCloud™ Blueprint(HCP). The Terraform Template consists of two files at a minimum:

  1. Main.tf: Contains syntax for configuration of cloud resources.

  2. Variables.tf: This file consists of parameter definition which feeds the values into the main.tf when Terraform processes the blueprints.

 Terraform Blueprints


You need to configure the following before you deploying the Terraform Blueprints.

  1. Backend State: Provisioning Terraform requires a backend state configured via the HyperCloud™ Platform(HCP).

Note

  • If the backend state has no state saved previously, the Terraform plan provides the information objects that need to be created.

  • And, the Terraform output shows the Update and Delete tasks. The existing resources need to be changed if ignored.

  • Workspace: Consists of Terraform configuration which is associated with a backend state that defines how operations are executed and where persistent data such as the Terraform state are stored. Multiple workspaces can use the same backend state.

Deploy Your Terraform Blueprints


To deploy your Terraform Blueprints:

  1. Validate: validates Terraform files for syntax errors

  2. Plan: creates a plan of execution and displays information on changes that will occur.

  3. Terraform Apply: Terraform templates needs to be applied, and the resources need to be configured in the cloud Provider

  • No labels