AnaisUrlichs / terraform-helm-example

19 stars 29 forks source link

Terraform Example

This repository showcases how to setup Terraform to manage your Civo Kubernetes cluster and install Helm Charts.

File overview

Getting started

Prerequisites

Run the following command to initialise the provider:

terraform init

List the resources that will be installed and managed by terraform:

terraform plan

Create those resources

terraform apply

Additionally, you can list the state that Terraformn is amanging through:

terraform state list

To remove any state from terraform, use:

terraform state rm <<name of the state that you want to remove>>

To modify the resources in the .tf files, use the terraform console:

terraform console

and then look for the object e.g.

data.civo_kubernetes_cluster.cluster