...
Log in to your HCP portal account.
Click Service Orchestration and navigate to AppStore > Click New > Select Terraform from the drop-down list.
Enter these details in the New Terraform dialog:
Enter a Name for your Terraform Template,
Example: AWS S3 Bucket.Enter a brief description of your Terraform Template. This is an optional field.
You can create a Terraform template using a template file in .zip format. Click Choose File to upload a Terraform template file.
Configure your Terraform template version. This is an optional step.
Select AWS from the Cloud Typedrop-down list.
To entitle users to your Terraform template, select:
Only Me: if you do not want anyone to access your Terraform template.
Everyone: if you want to share your Terraform template with everyone.
Groups & Users: if you want to share your Terraform template with specific users or groups.
Enter the first three alphabets of the username in the Users drop-down and select the username.
Type the first three alphabets of the Group Name in the Groups drop-down and select the group name.
If you are a Cloud Administrator, you can choose All Tenants to make the template available to all the tenants.
Click Create.
Provision your Terraform Blueprint
...
You Once you’ve created a Terraform workspace, you can provision your Terreform Blueprints in the Blueprint on your Amazon Web Service (AWS) resource once you have created Terraform workspace.You can use the following . Follow these steps to provision your Terraform Blueprint:
Login to your HyperCloudTM Platform(HCP) with your credentialsHCP portal account.
Click on Service Orchestration > Select and navigate to AppStore > Click on Terraform > Click on the Blueprint Azure Postgres (PaaS).
Click on Terraform Blueprint to open your Blueprint Azure Postgres (PaaS)
On the Overviewpage, review detailsopen your Terraform Blueprint.
From the Blueprint Details page:
Review your blueprint Overview, and click Next.
On Select New Workspace Type from the Workspace page:
Select the Workspace type as New.
Enter these details to create a new workspace:
Enter the name a Name for your new workspace.
Enter the brief description for your a brief Description of the new workspace.
Select the environment type following configurations for your workspace from the drop-down list Example: Dev.:
Select your workspace Environment
Select
Cloud Type
Select
your Resource Pool
Select the backend state
To entitled users:
Selectentitle users to your new Workspace, 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.
Select if you do not want anyone to access your Workspace.
Everyone: if you want to share your Workspace with everyone.
Groups & Users: if the template is to be shared you want to share the Workspace with specific users or groups.
Enter the first three alphabets of the username in the Users drop-down and select the username.
Type the first three alphabets of the Group Name in the Groups drop-down and select the group name.
Click Create Workspace and Validate.
Select the workspace type as Existing and Select the existing workspace e.g. hgprodazurewks1 and click Validate.
Alternately, you can select an Existing Workspace Type from the drop-down list, if you’ve configured one already.
From the Define Variables page, click
Action
and
- Bucket_name: for e.g
provide the value for Bucket_Name.
Example: "hg-prod-bk1"
[1]
Click
Plan and
Review the Successful Plan Output.
...
[2]
Click
Apply.
Click
...
open your Workspace.
Click
Timeline
...
to monitor
...
the Terraform provisioning status.
Once
you’ve successfully provisioned your Terraform template
, click
the
Resource
...
to view the resources created via the Terraform template
...
.
Note
([1) ]All values variables must be enclosed in double-quotes.
(2)The Terraform template ensures that there are no resources are being updated or deleted in its first deployment.
If so, then verifies that this is intentional and then proceed to the next step[2] If you are deploying your Terraform template for the first time, it ensures that it does not delete or update your existing resources.
If any of your resources are slated for deletion or updates, the template verifies that this is intentional before performing these tasks.
You can create your own templates. Refer to your Terraform Amazon Web Services Documentation.
Deploy your Terraform Blueprint
...
Login to your HCP portal account.
Click Service Orchestration and navigate to AppStore > Terraform > Click open your Terraform Blueprint > Click Edit.
Select your Workspace and click Validate.
Check your Terraform variables for syntax errors by clicking Validate.
Click Plan to create a plan of execution and review the changes to your deployed resource.
Click Apply to deploy your Blueprint and configure your resources in the cloud provider.