Share the content

Overview

Terraform Cloud is service managed by HashiCorp that simplify the state management improve operator confidence. Projected to scale and simplify the usage best practices  in a very transparent form. 

Step zero is log and create an free account in Terraform Cloud link here. After login you will be asked to create an Organization this will be the ground zero to start.

The first step into Terraform Cloud will be create an workspace. The definition of workspace for Terraform cloud is slit different from Terraform OSS but same principles apply however for Terraform Cloud workspaces are more isolated and can be mapped to Source Control. 

vcs definition

Once we start to scale collaboration will be required. Be productive in a team will require:

  • usage of source control repositories;
  • code using more dynamic approaches
  • usage of better descriptions in code and operations
  • enforce corporate directives

Terraform Cloud is projected in a form that guide users to adopt this kind of practices in a very intuitive form.

Once you deploy the corporate structure to work in the source control repo you can request/schedule plan/destroy/apply operations in Terraform Cloud adding the comments for each operations.  Each operation will be added in history of workspaces.

Small Prototype

To demonstrate this in practice I choose use Microsoft Azure – you can use the free account. create the minimum structure to create an vNET. In git repo code will be able to be clone check how to configure the terraform.tfvars to define the proper authentication configuration. 

Terraform Cloud Variables

terraform cloud azure credentials setup

Terraform Cloud - Plan

Terraform Cloud - Plan

Terraform Cloud - Apply

Terraform Cloud - Apply

Share the content

By mike

...passionate technology professional with deep experience in with high volume deployments and mission critical workloads build the orientation on - how to achieve the objectives leveraging key technologies be transparent and most of all a ‘forever student,’. Major aspect here is do using simple never forget enjoy and have fun avoid... Cycling is my major sport, with that I've learned several aspects that can apply on daily bases.... Horse riding is also very nice I try do when I can.... The views expressed on this [blog; website] are my own and do not necessarily reflect the views of Oracle or any other Company that I've worked in past. Today I've help the following certifications: OCI Architect Associate OCI Architect Professional OCI Operations Associate OCI Fundamentals The views expressed on www.simplesample.com blog is my own and do not necessarily reflect the views of Oracle.

Leave a Reply

Your email address will not be published. Required fields are marked *