feat: add terraform deployment for K8s invidious
This commit is contained in:
parent
ff7c9d8b91
commit
904b067816
10 changed files with 572 additions and 0 deletions
16
deployments/invidious/Taskfile.yml
Normal file
16
deployments/invidious/Taskfile.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue