Compare commits
2 Commits
6ca189b32c
...
97295a7071
| Author | SHA1 | Date | |
|---|---|---|---|
| 97295a7071 | |||
| 7bc861b3e8 |
@@ -77,13 +77,13 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
case "${{ inputs.target }}" in
|
case "${{ inputs.target }}" in
|
||||||
all)
|
all)
|
||||||
TF_PLAN_CMD="terraform plan -parallelism=1 -destroy -out=tfdestroy"
|
TF_PLAN_CMD="terraform plan -refresh=false -parallelism=1 -destroy -out=tfdestroy"
|
||||||
;;
|
;;
|
||||||
control-planes)
|
control-planes)
|
||||||
TF_PLAN_CMD="terraform plan -parallelism=1 -destroy -target=proxmox_vm_qemu.control_planes -out=tfdestroy"
|
TF_PLAN_CMD="terraform plan -refresh=false -parallelism=1 -destroy -target=proxmox_vm_qemu.control_planes -out=tfdestroy"
|
||||||
;;
|
;;
|
||||||
workers)
|
workers)
|
||||||
TF_PLAN_CMD="terraform plan -parallelism=1 -destroy -target=proxmox_vm_qemu.workers -out=tfdestroy"
|
TF_PLAN_CMD="terraform plan -refresh=false -parallelism=1 -destroy -target=proxmox_vm_qemu.workers -out=tfdestroy"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid destroy target: ${{ inputs.target }}"
|
echo "Invalid destroy target: ${{ inputs.target }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user