Terraform IaC z multi-environment (dev/staging/prod/prod-us), plan/apply/destroy.
dir(working_dir) — all tasks run insideterraform/directoryenv_file— per-environment.envfiles for AWS credentialscondition— cost estimation only if infracost is installedenvironment_groups—all-prodfor rolling infra updatesstagefield —ci-planandci-applyfor 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