Versions Compared

Key

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

Overview

...

This topic describes the steps to You can create a Terraform-based Blueprint on the HyperCloud™Platform Blueprint (HCP). The Terraform Template consists of two configuration files that You can declare the state that you want to achieve for your cloud resources. The two files are of your Cloud Resources in a Terraform Template using two types of configuration files:

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

  2. Variables.tf: This file consists of comprises parameter definition which , that feeds the values into the main.tf when a Terraform processes the is processing blueprints.

Terraform blueprints use the Terraform configuration syntax to model the infrastructure of a cloud environment, including its virtual machines. This includes your infrastructure like Virtual Machines(VMs), networks, and storage. A Terraform blueprint can also include comprise of software components. These software components to be are deployed in the your cloud environment. When you have modeled the Once you’ve modeled your cloud environment and software components in the blueprint, you can create or update a cloud environment based on that blueprint

You need to configure the following before you deploy the Terraform Blueprints:

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

Note

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

    • 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.

Create your Terraform Blueprint

...

  1. AWS

  2. Azure

Deploy your Terraform Blueprints

To deploy your Terraform Blueprints:

...

Validate: validates Terraform files for syntax errors.

...

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

...

, you’ll be able to use it to create or update your cloud environment.

You can create Terraform templates for these Cloud Service Providers:

Child pages (Children Display)