feat: add terraform deployment for K8s invidious

This commit is contained in:
NaeiKinDus 2024-10-17 00:00:00 +00:00
parent ff7c9d8b91
commit 904b067816
Signed by: WoodSmellParticle
GPG key ID: 8E52ADFF7CA8AE56
10 changed files with 572 additions and 0 deletions

View file

@ -0,0 +1,16 @@
version: '3'
vars:
TF_BINARY:
sh: bash -c 'which tofu || which terraform || (echo "Could not find terraform compatible binary" && exit 1)'
tasks:
deploy:
desc: deploy project using OpenTofu or Terraform
cmds:
- '{{.TF_BINARY}} init'
- '{{.TF_BINARY}} apply -auto-approve'
default:
cmd:
task: deploy