A convenience GNUMakefile that provides shortcuts for using Terraform:
make
(a/k/amake again
) - using environment/Terraform variables or a .env file, apply the configuration (perform init if needed)make valid
- using environment/Terraform variables or a .env file, validate the configuration (perform init if needed)make clean
- destroy the configurationmake fresh
-clean
actions plus delete the log, state files, and provider pluginsmake neat
- format the .tf filesmake state
- show what is in the Terraform statemake count
- count of the items in the Terraform state
If you prefer to disable color in Terraform's output while using the GNUMakefile, set the environment variable COLOR_OPTION
to -no-color
.