Skip to content

Instantly share code, notes, and snippets.

View joeheaton's full-sized avatar
More Coffee More Code

Heaton.dev joeheaton

More Coffee More Code
View GitHub Profile
@joeheaton
joeheaton / tf-iva.sh
Last active November 21, 2022 15:18
Tired of typing Terraform init, validate, apply? I've written this bash function to speed this up and implement some good practices.
# tf-iva - init, validate, plan, apply
function tf-iva {
if [[ "${1}" =~ ^(-h|--?help)$ ]]; then
cat <<-EOT
tf-iva - Terraform init, validate, plan, apply by Joe Heaton.dev
Usage: [TF_PLANS=DIR] tf-iva [FLAGS] [DIR]
Flags:
-h|--help - Display this help text

Keybase proof

I hereby claim:

  • I am joeheaton on github.
  • I am usrjph (https://keybase.io/usrjph) on keybase.
  • I have a public key ASD9WTwFWhSlPV7sj953fIY-PZGAmvDJUsU47u3iCeBAzgo

To claim this, I am signing this object: