Skip to content
Snippets Groups Projects
Commit ee744e1c authored by nimrod's avatar nimrod
Browse files

Init first in the tfp alias.

Init the module without the backend (in case providers or modules were
changed or added) before creating a Terraform plan.
parent 8f208ca7
No related branches found
No related tags found
No related merge requests found
...@@ -167,7 +167,7 @@ alias sudo="sudo " ...@@ -167,7 +167,7 @@ alias sudo="sudo "
alias sudome="sudome " alias sudome="sudome "
alias tfa='tf apply tfplan' alias tfa='tf apply tfplan'
alias tfaa='tf apply -auto-approve' alias tfaa='tf apply -auto-approve'
alias tfp='tf plan -out tfplan' alias tfp='tf init -backend=false && tf plan -out tfplan'
alias tfvf='tf init -backend=false && tf validate && tf fmt -diff' alias tfvf='tf init -backend=false && tf validate && tf fmt -diff'
alias todo="vim \$HOME/Documents/TODO.yml" alias todo="vim \$HOME/Documents/TODO.yml"
# shellcheck disable=SC2142 # shellcheck disable=SC2142
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment