File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,16 @@ local:
5858deploy_prod : check_account_prod
5959 @echo " Deploying Terraform..."
6060 terraform -chdir=terraform/envs/prod init -lockfile=readonly
61- terraform -chdir=terraform/envs/prod apply -auto-approve
61+ terraform -chdir=terraform/envs/qa plan -out=tfplan
62+ terraform -chdir=terraform/envs/prod apply -auto-approve tfplan
63+ rm tfplan
6264
6365deploy_dev : check_account_dev
6466 @echo " Deploying Terraform..."
6567 terraform -chdir=terraform/envs/qa init -lockfile=readonly
66- terraform -chdir=terraform/envs/qa apply -auto-approve
68+ terraform -chdir=terraform/envs/qa plan -out=tfplan
69+ terraform -chdir=terraform/envs/qa apply -auto-approve tfplan
70+ rm tfplan
6771
6872init_terraform :
6973 terraform -chdir=terraform/envs/qa init
You can’t perform that action at this time.
0 commit comments