feat: init tf

This commit is contained in:
2025-01-09 15:20:49 -05:00
parent 3fb6801188
commit 08b1b8f641
3 changed files with 77 additions and 1 deletions

View File

@@ -1,5 +1,15 @@
version: 3
env: { TF: terraform -chdir=terraform }
silent: true
tasks:
tf/init: $TF init -backend-config=../secrets/backend.json
tf/plan: $TF plan
tf/destroy: $TF destroy
tf/format: $TF fmt -recursive
tf/apply:
- $TF apply
- $TF output -json > secrets/terraform.json
action: act -W .gitea/workflows --container-architecture linux/amd64