Steps to be running:
- Have Terraform Envvars ready so you can access digitalocean:
TF_VAR_do_token=DIGITAL_OCEAN_TOKEN
TF_VAR_ssh_fingerprint=MD5_PUBLIC_SSH_KEY_FINGERPRINT
TF_VAR_pvt_key=PRIVATE_SSH_KEY_PATH
TF_VAR_pub_key=PUBLIC_SSH_KEY_PATH
terraform plan # Dry run
terraform graph # See a graphical tree representation of how resources inter-depend
# and
./start_cluster.sh
- Destroy the cluster
terraform plan -destroy -out=terraform.tfplan
terraform apply terraform.tfplan