Files
dotfiles/shell-common/.config/shell-common/99_terraform.sh
2026-01-07 15:20:19 +00:00

11 lines
297 B
Bash

# shellcheck shell=bash
# Terraform helpers
if [ -x "$(command -v terraform)" ]; then
# Define a shared cache location for Terraform plugins
export TF_PLUGIN_CACHE_DIR="${XDG_CACHE_HOME}/terraform-plugins"
alias tfplan="terraform plan -out=tfplan.binary"
alias tf="terraform"
fi