15 lines
359 B
YAML
15 lines
359 B
YAML
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 |