[tools]
terragrunt = "0.93.10"
opentofu = "1.10.7"

[tasks."tg:fmt"]
run = "terragrunt hclfmt"
description = "Format terragrunt files"

[tasks.tf]
run = "terragrunt 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 = { task = "tf init -- -reconfigure" }
dir = "{{cwd}}"
