terraform

terraform scripts
Log | Files | Refs | README

commit c5438336bb30e422265f38275f25b0e46c9d76fb
parent 11222036bea32cd4a44621b66bec6c563e6c21d0
Author: John Kubach <johnkubach@gmail.com>
Date:   Thu, 23 Sep 2021 16:32:40 -0400

Add README

Diffstat:
AREADME | 38++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -0,0 +1,38 @@ +terraform +--------- + +An archive of my terraform configs. + + +Usage +----- + +Relevant API keys will need to be set for these to work. +$ export VULTR_API_KEY=[PERSONAL API KEY] + + +Digital Ocean +------------- + +terraform init + +terraform plan \ + -var "do_token=${DO_PAT}" \ + -var "pvt_key=$HOME/.ssh/id_rsa" + +terraform apply \ + -var "do_token=${DO_PAT}" \ + -var "pvt_key=$HOME/.ssh/id_rsa" + +Vultr +----- + +terraform init + +terraform plan \ + -var "vultr_token=${VULTR_API_KEY}" \ + -var "pvt_key=$HOME/.ssh/id_rsa" + +terraform apply \ + -var "vultr_token=${VULTR_API_KEY}" \ + -var "pvt_key=$HOME/.ssh/id_rsa"