mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
plan now produces output plan, apply now consumes outputted plan
This commit is contained in:
parent
44d416ca8e
commit
42b4ddc737
7
examples/azure-vm-simple-linux/deploy.sh
Normal file → Executable file
7
examples/azure-vm-simple-linux/deploy.sh
Normal file → Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user