Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.39 KB

04-setup-terraform-cloud.md

File metadata and controls

33 lines (17 loc) · 1.39 KB

Setup Terraform Cloud

The Terraform Cloud platform uses Infrastructure as a Code to manage and provide any cloud environment, infrastructure or service.

Create a new user on Terraform Cloud

If you do not have a user on this platform, use this following link to create a new one in the free plan.

Create a new organization

Set up a new organization to manage the project. You can use this link to access to your organizations in Terraform.

Terraform Organization

Then, link your workspace in Terraform Cloud with your repository in GitHub.

Terraform GitHub

List the advanced options to specify the infra folder as the source of terraform files within the entire directory.

Terraform Advance Options

Create environment value

Configure the environment variables in Terraform Cloud to connect this platform with Digital Ocean.

Add the environment variable DIGITALOCEAN_TOKEN together with the Digital Ocean token obtained in the previous section.

Don't forget to check the Sensitive box to hide the value of the token.

Terraform Environment Values

Next: Create Kubernetes cluster