...
Deploying an AWS Terraform Blueprint is a three-step process where you’ll need to:
Note |
---|
Before you begin |
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.
...
Login to the HCP account with your credentials.
Click Services Orchestration > Select AppStore > Click on New > Select Terraform.
Enter the Following details in your Terraform blueprint:
Enter a Namefor the Terraform Template, Example: AWS S3 Bucket.
This is an optional step, enter a brief Description, for Example: Terraform Template to AWS S3 bucket.
Click on Choose File and upload the aws-s3-bucket-tf.zip file
This is an optional step, configure a version, Example: 1.0
Select the Cloud Type from the drop-down: select AWS.
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.
Select All Tenants (Only available to Cloud Admins): if the template is to be shared with all tenants.
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.
...