2# This is an alias for "terraform plan -out=terraform.plan".
4# Note: if you read the Terraform documentation [1], it says:
6# Terraform will allow any filename for the plan file, but
7# a typical convention is to name it tfplan.
9# My use of 'terraform.plan' predates me reading about this convention,
10# and it's spread around things like .gitignore files now, so I'm sticking
11# with it for consistency rather than switching.
13# The .plan suffix isn't something I use anywhere else, so I think it's fine.
15# [1]: https://developer.hashicorp.com/terraform/cli/commands/plan#other-options
17tf plan -out=tfplan "$@"