feat: subnets attached to compute, added tf destroy

This commit is contained in:
2025-12-29 14:50:21 -05:00
parent 64cd0eb4ff
commit 2427411452
5 changed files with 78 additions and 34 deletions

15
playbooks/destroy.yml Normal file
View File

@@ -0,0 +1,15 @@
- name: Deploy terraform infrastructure.
hosts: localhost
gather_facts: false
vars_files:
- ../vault.yml
tasks:
- name: Destroy
community.general.terraform:
project_path: '../terraform'
state: "absent"
init_reconfigure: true
force_init: true
backend_config: "{{ terraform.backend }}"
variables: "{{ terraform.variables }}"
complex_vars: true