Terraform IaC z multi-environment (dev/staging/prod/prod-us), plan/apply/destroy.
dir (working_dir) — all tasks run inside terraform/ directoryenv_file — per-environment .env files for AWS credentialscondition — cost estimation only if infracost is installedenvironment_groups — all-prod for rolling infra updatesstage field — ci-plan and ci-apply for CI pipeline inferenceignore_errors — lint/security don’t block the pipelinedeps + parallel — validate + lint run in parallel before plan# Dev environment
taskfile --env dev run plan
taskfile --env dev run apply
# Staging
taskfile --env staging run plan
taskfile --env staging run apply
# Prod (EU + US rolling)
taskfile -G all-prod run plan
taskfile -G all-prod run apply
# Inspect
taskfile --env prod run output
taskfile --env prod run state-list
taskfile --env dev run cost
# Security scan
taskfile run lint
taskfile run security
# Destroy dev (careful!)
taskfile --env dev run destroy