mirror of
https://github.com/immich-app/services.git
synced 2026-09-30 21:27:59 +08:00
49 lines
1023 B
TOML
49 lines
1023 B
TOML
[tools]
|
|
opentofu = "1.12.1"
|
|
terragrunt = "1.0.7"
|
|
|
|
[env]
|
|
TF_VAR_dist_dir="{{config_root}}/dist"
|
|
|
|
[tasks.tg]
|
|
run = "op run '--env-file={{config_root}}/deployment/.env' -- terragrunt"
|
|
description = "Wrapper for terragrunt"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tg:fmt"]
|
|
run = "mise run tg hclfmt"
|
|
description = "Format terragrunt files"
|
|
|
|
[tasks.tf]
|
|
run = "mise run tg run --all"
|
|
description = "Wrapper for terragrunt run-all"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:fmt"]
|
|
run = "tofu fmt -recursive tf/"
|
|
description = "Format terraform files"
|
|
|
|
[tasks."tf:init"]
|
|
run = "mise run tf init -- -reconfigure"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:plan"]
|
|
run = "mise run tf plan"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:apply"]
|
|
run = "mise run tf apply"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:destroy"]
|
|
run = "mise run tf destroy"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:check-locks"]
|
|
run = "{{config_root}}/deployment/scripts/check-lock-files.sh"
|
|
description = "Ensure every Terraform module has a committed .terraform.lock.hcl"
|
|
|
|
[settings]
|
|
experimental = true
|
|
idiomatic_version_file_enable_tools = []
|