plan now produces output plan, apply now consumes outputted plan

This commit is contained in:
Scott Nowicki 2017-04-19 18:41:38 -05:00
parent 44d416ca8e
commit 42b4ddc737
1 changed files with 2 additions and 5 deletions

7
examples/azure-vm-simple-linux/deploy.sh Normal file → Executable file
View File

@ -12,12 +12,9 @@ terraform plan \
-var 'admin_password='$KEY \
-var 'admin_username='$KEY \
-var 'resource_group='$KEY
-out ./out.tfplan
terraform apply
-var 'dns_name='$KEY \
-var 'admin_password='$KEY \
-var 'admin_username='$KEY \
-var 'resource_group='$KEY
terraform apply ./out.tfplan
# TODO: determine external validation, possibly Azure CLI