ppsreejith / terraform-scripts

A collection of terraform scripts for easy access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

A quick way to spin up a Kube cluster in digitalocean from the shell

Prerequisites

Fill your .env file with the following details

export TF_VAR_do_token=<your DO token>
export TF_VAR_do_cluster_name=<name of your kube cluster>

You also need terraform installed and kubectl (I use version 1.16)

Setup

. ./env
terraform plan
terraform apply
sh ./get_config.sh

Destroy

terraform destroy

About

A collection of terraform scripts for easy access


Languages

Language:HCL 69.8%Language:Shell 30.2%