Run a named plan file for a chosen environment.
Section: Infrastructure and deployment recipes
Terraform plan target
makefile
makefile
ENV ?= dev
terraform-plan:
cd infra/$(ENV) && terraform init && terraform plan -out=tfplanExplanation
A nice wrapper around verbose infra commands.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Infrastructure and deployment recipes