🛠️
terragrunt 新旧コマンド早見表 with llms.txt
TL;DR
- v0.77.22 (2025-04 release) で Terragrunt CLI に breaking changes が入った。
- しかしなかなか学んでくれない LLMs くん達用に新旧コマンドマッピング表を作った。
- 学んでくれ LLMs 🙏
As file:
読者プレゼントです
terragrunt-cli-migration-mapping-llms.txt.md - gist
Terragrunt CLI Migration Mapping (Old → New) (Since v0.77.22)
Core Command Changes
-
terragrunt <terraform-cmd>→terragrunt run <terraform-cmd> -
terragrunt run-all <cmd>→terragrunt run --all <cmd> -
terragrunt plan-all→terragrunt run --all plan -
terragrunt apply-all→terragrunt run --all apply -
terragrunt destroy-all→terragrunt run --all destroy -
terragrunt output-all→terragrunt run --all output -
terragrunt validate-all→terragrunt run --all validate -
terragrunt spin-up→terragrunt run --all apply -
terragrunt tear-down→terragrunt run --all destroy
HCL and Dependency Commands
-
terragrunt hclfmt→terragrunt hcl fmt -
terragrunt hclvalidate→terragrunt hcl validate -
terragrunt validate-inputs→terragrunt hcl validate --inputs -
terragrunt terragrunt-info→terragrunt info print -
terragrunt render-json→terragrunt render --json -w -
terragrunt graph-dependencies→terragrunt dag graph -
terragrunt graph→terragrunt run --graph graph
Old Flags → New Flags
-
--terragrunt-check→--check -
--terragrunt-config→--config -
--terragrunt-debug→--inputs-debug -
--terragrunt-diff→--diff -
--terragrunt-disable-bucket-update→--disable-bucket-update -
--terragrunt-disable-command-validation→--disable-command-validation -
--terragrunt-download-dir→--download-dir -
--terragrunt-exclude-dir→--queue-exclude-dir -
--terragrunt-excludes-file→--queue-excludes-file -
--terragrunt-fetch-dependency-output-from-state→--dependency-fetch-output-from-state -
--terragrunt-forward-tf-stdout→--tf-forward-stdout -
--terragrunt-hclfmt-exclude-dir→--exclude-dir -
--terragrunt-hclfmt-file→--file -
--terragrunt-hclfmt-stdin→--stdin -
--terragrunt-hclvalidate-json→--json -
--terragrunt-hclvalidate-show-config-path→--show-config-path -
--terragrunt-iam-assume-role-duration→--iam-assume-role-duration -
--terragrunt-iam-role→--iam-assume-role -
--terragrunt-iam-web-identity-token→--iam-assume-role-web-identity-token -
--terragrunt-ignore-dependency-errors→--queue-ignore-errors -
--terragrunt-ignore-dependency-order→--queue-ignore-dag-order -
--terragrunt-ignore-external-dependencies→--queue-exclude-external -
--terragrunt-include-dir→--queue-include-dir -
--terragrunt-include-external-dependencies→--queue-include-external -
--terragrunt-json-disable-dependent-modules→--disable-dependent-modules -
--terragrunt-json-out-dir→--json-out-dir -
--terragrunt-json-out→--out -
--terragrunt-log-custom-format→--log-custom-format -
--terragrunt-log-disable→--log-disable -
--terragrunt-log-format→--log-format -
--terragrunt-log-level→--log-level -
--terragrunt-log-show-abs-paths→--log-show-abs-paths -
--terragrunt-modules-that-include→--units-that-include -
--terragrunt-no-auto-approve→--no-auto-approve -
--terragrunt-no-auto-init→--no-auto-init -
--terragrunt-no-auto-retry→--no-auto-retry -
--terragrunt-no-color→--no-color -
--terragrunt-no-destroy-dependencies-check→--no-destroy-dependencies-check -
--terragrunt-out-dir→--out-dir -
--terragrunt-parallelism→--parallelism -
--terragrunt-provider-cache-dir→--provider-cache-dir -
--terragrunt-provider-cache-hostname→--provider-cache-hostname -
--terragrunt-provider-cache-port→--provider-cache-port -
--terragrunt-provider-cache-registry-names→--provider-cache-registry-names -
--terragrunt-provider-cache-token→--provider-cache-token -
--terragrunt-provider-cache→--provider-cache -
--terragrunt-queue-include-units-reading→--queue-include-units-reading -
--terragrunt-source-map→--source-map -
--terragrunt-source-update→--source-update -
--terragrunt-source→--source -
--terragrunt-strict-include→--queue-strict-include -
--terragrunt-strict-validate→--strict-validate -
--terragrunt-tfpath→--tf-path -
--terragrunt-use-partial-parse-config-cache→--use-partial-parse-config-cache -
--terragrunt-working-dir→--working-dir -
--terragrunt-non-interactive→--non-interactive
Environment Variables
-
TERRAGRUNT_NON_INTERACTIVE→TG_NON_INTERACTIVE -
TERRAGRUNT_LOG_LEVEL→TG_LOG_LEVEL -
TERRAGRUNT_DEBUG→TG_INPUTS_DEBUG -
TERRAGRUNT_SOURCE→TG_SOURCE -
TERRAGRUNT_*→TG_*(general rule)
Discussion