Ansible is a great tool for managing configuration across a fleet of compute resources, but it struggles with dynamic sets of compute that are constantly being destroyed and spawned since it the user has to maintain a static list of hostnames.Read more →
Tired of typing Terraform init, validate, apply? I’ve written this bash function to speed this up and implement some good practices.Read more →
I find it useful to frontload my terminals with context about my environment; You wouldn’t want to deploy to the wrong environment now would you?
Here I extract information from Google Cloud CLI and print it at the start of every new terminal tab in order to understand exactly where my Google Cloud API requests will go by default.
Read more →GCP $GCP_APP_CRED_PROJECT=my-project GCP $GCP_CONFIGURATION=my-project GCP $GCP_PROJECT=my-project
Terraform has a built-in command to generate a Graphviz digraph representing the output of
terraform plan, but this output is pretty messy and can’t render in MermaidJS.