...
Overview
...
This topic describes the steps to create a terraform Terraform based HyperCloud™ Blueprint. A simple terraform template (HCP). The Terraform Template consists of 2 two files at a minimum:
- – This file has
: Contains syntax for configuration of cloud resources.
- –
: This file consists of parameter definition which
feedfeeds the values into the main.tf when
terraformTerraform processes the blueprints
...
.
Terraform Blueprints
...
You need to configure the following before you deploying the Terraform Blueprints.
Backend State
-: Provisioning Terraform requires a backend state configured via the HyperCloud™ Platform
. Backend state in terraform preserve the current state of the deployment.
...
(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:
Validate: validates Terraform files for syntax errors
Plan
- Creates: creates a plan of execution and displays information on changes that will occur.
Terraform Apply
–: Terraform templates
willneeds to be applied, and the resources
willneed to be configured in the cloud Provider