mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-28 08:02:33 +00:00
Merge pull request 'Update .gitea/workflows/ci-test.yaml' (#171) from fenix-admin into main
Reviewed-on: fenix-gitea-admin/iac-teste#171
This commit is contained in:
@ -117,8 +117,12 @@ jobs:
|
|||||||
- name: Init OpenTofu
|
- name: Init OpenTofu
|
||||||
working-directory: infra/iac
|
working-directory: infra/iac
|
||||||
run: |
|
run: |
|
||||||
tofu init
|
tofu init
|
||||||
tofu state list | grep proxmox_virtual_environment_vm | xargs -n1 tofu state rm
|
tofu state list | grep "proxmox_virtual_environment_vm.k8s_vms" | while read -r line; do
|
||||||
|
tofu state rm "$line"
|
||||||
|
done
|
||||||
|
tofu state rm proxmox_virtual_environment_vm.proxmox-kubernetes-VM-template
|
||||||
|
|
||||||
|
|
||||||
- name: Plan
|
- name: Plan
|
||||||
working-directory: infra/iac
|
working-directory: infra/iac
|
||||||
|
|||||||
Reference in New Issue
Block a user