Skip to content

Commit f8dab19

Browse files
authored
chore: Addressing review feedback (#4672)
1 parent 5fbbdd8 commit f8dab19

File tree

2 files changed

+112
-106
lines changed

2 files changed

+112
-106
lines changed

docs-starlight/src/content/docs/06-migrate/03-cli-redesign.md

Lines changed: 56 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -65,60 +65,63 @@ You can find the new flag names in the [CLI reference](/docs/reference/cli/) (in
6565

6666
Below is a comprehensive mapping of old CLI flag names to their modern counterparts:
6767

68-
| Old Flag | New Flag |
69-
|----------|----------|
70-
| `--terragrunt-config` | `--config` |
71-
| `--terragrunt-working-dir` | `--working-dir` |
72-
| `--terragrunt-download-dir` | `--download-dir` |
73-
| `--terragrunt-source` | `--source` |
74-
| `--terragrunt-source-map` | `--source-map` |
75-
| `--terragrunt-source-update` | `--source-update` |
76-
| `--terragrunt-iam-role` | `--iam-assume-role` |
77-
| `--terragrunt-iam-assume-role-duration` | `--iam-assume-role-duration` |
78-
| `--terragrunt-iam-web-identity-token` | `--iam-assume-role-web-identity-token` |
79-
| `--terragrunt-ignore-dependency-errors` | `--queue-ignore-errors` |
80-
| `--terragrunt-excludes-file` | `--queue-excludes-file` |
81-
| `--terragrunt-exclude-dir` | `--queue-exclude-dir` |
82-
| `--terragrunt-include-dir` | `--queue-include-dir` |
83-
| `--terragrunt-strict-include` | `--queue-strict-include` |
84-
| `--terragrunt-ignore-dependency-order` | `--queue-ignore-dag-order` |
85-
| `--terragrunt-ignore-external-dependencies` | `--queue-exclude-external` |
86-
| `--terragrunt-include-external-dependencies` | `--queue-include-external` |
87-
| `--terragrunt-strict-validate` | `--strict-validate` |
88-
| `--terragrunt-parallelism` | `--parallelism` |
89-
| `--terragrunt-debug` | `--inputs-debug` |
90-
| `--terragrunt-log-level` | `--log-level` |
91-
| `--terragrunt-log-format` | `--log-format` |
92-
| `--terragrunt-log-custom-format` | `--log-custom-format` |
93-
| `--terragrunt-log-disable` | `--log-disable` |
94-
| `--terragrunt-log-show-abs-paths` | `--log-show-abs-paths` |
95-
| `--terragrunt-no-color` | `--no-color` |
96-
| `--terragrunt-check` | `--check` |
97-
| `--terragrunt-diff` | `--diff` |
98-
| `--terragrunt-hclfmt-file` | `--file` |
99-
| `--terragrunt-hclfmt-exclude-dir` | `--exclude-dir` |
100-
| `--terragrunt-hclfmt-stdin` | `--stdin` |
101-
| `--terragrunt-hclvalidate-json` | `--json` |
102-
| `--terragrunt-hclvalidate-show-config-path` | `--show-config-path` |
103-
| `--terragrunt-json-disable-dependent-modules` | `--disable-dependent-modules` |
104-
| `--terragrunt-json-out` | `--out` |
105-
| `--terragrunt-modules-that-include` | `--units-that-include` |
106-
| `--terragrunt-queue-include-units-reading` | `--queue-include-units-reading` |
68+
| Old Flag | New Flag |
69+
| ------------------------------------------------- | -------------------------------------- |
70+
| `--terragrunt-check` | `--check` |
71+
| `--terragrunt-config` | `--config` |
72+
| `--terragrunt-debug` | `--inputs-debug` |
73+
| `--terragrunt-diff` | `--diff` |
74+
| `--terragrunt-disable-bucket-update` | `--disable-bucket-update` |
75+
| `--terragrunt-disable-command-validation` | `--disable-command-validation` |
76+
| `--terragrunt-download-dir` | `--download-dir` |
77+
| `--terragrunt-exclude-dir` | `--queue-exclude-dir` |
78+
| `--terragrunt-excludes-file` | `--queue-excludes-file` |
79+
| `--terragrunt-fail-on-state-bucket-creation` | `--backend-require-bootstrap` |
10780
| `--terragrunt-fetch-dependency-output-from-state` | `--dependency-fetch-output-from-state` |
108-
| `--terragrunt-use-partial-parse-config-cache` | `--use-partial-parse-config-cache` |
109-
| `--terragrunt-fail-on-state-bucket-creation` | `--backend-require-bootstrap` |
110-
| `--terragrunt-disable-bucket-update` | `--disable-bucket-update` |
111-
| `--terragrunt-disable-command-validation` | `--disable-command-validation` |
112-
| `--terragrunt-provider-cache` | `--provider-cache` |
113-
| `--terragrunt-provider-cache-dir` | `--provider-cache-dir` |
114-
| `--terragrunt-provider-cache-hostname` | `--provider-cache-hostname` |
115-
| `--terragrunt-provider-cache-port` | `--provider-cache-port` |
116-
| `--terragrunt-provider-cache-token` | `--provider-cache-token` |
117-
| `--terragrunt-provider-cache-registry-names` | `--provider-cache-registry-names` |
118-
| `--terragrunt-out-dir` | `--out-dir` |
119-
| `--terragrunt-json-out-dir` | `--json-out-dir` |
120-
| `--terragrunt-forward-tf-stdout` | `--tf-forward-stdout` |
121-
| `--terragrunt-no-destroy-dependencies-check` | `--no-destroy-dependencies-check` |
81+
| `--terragrunt-forward-tf-stdout` | `--tf-forward-stdout` |
82+
| `--terragrunt-hclfmt-exclude-dir` | `--exclude-dir` |
83+
| `--terragrunt-hclfmt-file` | `--file` |
84+
| `--terragrunt-hclfmt-stdin` | `--stdin` |
85+
| `--terragrunt-hclvalidate-json` | `--json` |
86+
| `--terragrunt-hclvalidate-show-config-path` | `--show-config-path` |
87+
| `--terragrunt-iam-assume-role-duration` | `--iam-assume-role-duration` |
88+
| `--terragrunt-iam-role` | `--iam-assume-role` |
89+
| `--terragrunt-iam-web-identity-token` | `--iam-assume-role-web-identity-token` |
90+
| `--terragrunt-ignore-dependency-errors` | `--queue-ignore-errors` |
91+
| `--terragrunt-ignore-dependency-order` | `--queue-ignore-dag-order` |
92+
| `--terragrunt-ignore-external-dependencies` | `--queue-exclude-external` |
93+
| `--terragrunt-include-dir` | `--queue-include-dir` |
94+
| `--terragrunt-include-external-dependencies` | `--queue-include-external` |
95+
| `--terragrunt-json-disable-dependent-modules` | `--disable-dependent-modules` |
96+
| `--terragrunt-json-out-dir` | `--json-out-dir` |
97+
| `--terragrunt-json-out` | `--out` |
98+
| `--terragrunt-log-custom-format` | `--log-custom-format` |
99+
| `--terragrunt-log-disable` | `--log-disable` |
100+
| `--terragrunt-log-format` | `--log-format` |
101+
| `--terragrunt-log-level` | `--log-level` |
102+
| `--terragrunt-log-show-abs-paths` | `--log-show-abs-paths` |
103+
| `--terragrunt-modules-that-include` | `--units-that-include` |
104+
| `--terragrunt-no-auto-approve` | `--no-auto-approve` |
105+
| `--terragrunt-no-auto-init` | `--no-auto-init` |
106+
| `--terragrunt-no-auto-retry` | `--no-auto-retry` |
107+
| `--terragrunt-no-color` | `--no-color` |
108+
| `--terragrunt-no-destroy-dependencies-check` | `--no-destroy-dependencies-check` |
109+
| `--terragrunt-out-dir` | `--out-dir` |
110+
| `--terragrunt-parallelism` | `--parallelism` |
111+
| `--terragrunt-provider-cache-dir` | `--provider-cache-dir` |
112+
| `--terragrunt-provider-cache-hostname` | `--provider-cache-hostname` |
113+
| `--terragrunt-provider-cache-port` | `--provider-cache-port` |
114+
| `--terragrunt-provider-cache-registry-names` | `--provider-cache-registry-names` |
115+
| `--terragrunt-provider-cache-token` | `--provider-cache-token` |
116+
| `--terragrunt-provider-cache` | `--provider-cache` |
117+
| `--terragrunt-queue-include-units-reading` | `--queue-include-units-reading` |
118+
| `--terragrunt-source-map` | `--source-map` |
119+
| `--terragrunt-source-update` | `--source-update` |
120+
| `--terragrunt-source` | `--source` |
121+
| `--terragrunt-strict-include` | `--queue-strict-include` |
122+
| `--terragrunt-strict-validate` | `--strict-validate` |
123+
| `--terragrunt-use-partial-parse-config-cache` | `--use-partial-parse-config-cache` |
124+
| `--terragrunt-working-dir` | `--working-dir` |
122125

123126
### Update environment variables
124127

docs/_docs/06_migration_guides/03-cli-redesign.md

Lines changed: 56 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -70,60 +70,63 @@ You can find the new flag names in the [CLI reference](/docs/reference/cli/) (in
7070

7171
Below is a comprehensive mapping of old CLI flag names to their modern counterparts:
7272

73-
| Old Flag | New Flag |
74-
|----------|----------|
75-
| `--terragrunt-config` | `--config` |
76-
| `--terragrunt-working-dir` | `--working-dir` |
77-
| `--terragrunt-download-dir` | `--download-dir` |
78-
| `--terragrunt-source` | `--source` |
79-
| `--terragrunt-source-map` | `--source-map` |
80-
| `--terragrunt-source-update` | `--source-update` |
81-
| `--terragrunt-iam-role` | `--iam-assume-role` |
82-
| `--terragrunt-iam-assume-role-duration` | `--iam-assume-role-duration` |
83-
| `--terragrunt-iam-web-identity-token` | `--iam-assume-role-web-identity-token` |
84-
| `--terragrunt-ignore-dependency-errors` | `--queue-ignore-errors` |
85-
| `--terragrunt-excludes-file` | `--queue-excludes-file` |
86-
| `--terragrunt-exclude-dir` | `--queue-exclude-dir` |
87-
| `--terragrunt-include-dir` | `--queue-include-dir` |
88-
| `--terragrunt-strict-include` | `--queue-strict-include` |
89-
| `--terragrunt-ignore-dependency-order` | `--queue-ignore-dag-order` |
90-
| `--terragrunt-ignore-external-dependencies` | `--queue-exclude-external` |
91-
| `--terragrunt-include-external-dependencies` | `--queue-include-external` |
92-
| `--terragrunt-strict-validate` | `--strict-validate` |
93-
| `--terragrunt-parallelism` | `--parallelism` |
94-
| `--terragrunt-debug` | `--inputs-debug` |
95-
| `--terragrunt-log-level` | `--log-level` |
96-
| `--terragrunt-log-format` | `--log-format` |
97-
| `--terragrunt-log-custom-format` | `--log-custom-format` |
98-
| `--terragrunt-log-disable` | `--log-disable` |
99-
| `--terragrunt-log-show-abs-paths` | `--log-show-abs-paths` |
100-
| `--terragrunt-no-color` | `--no-color` |
101-
| `--terragrunt-check` | `--check` |
102-
| `--terragrunt-diff` | `--diff` |
103-
| `--terragrunt-hclfmt-file` | `--file` |
104-
| `--terragrunt-hclfmt-exclude-dir` | `--exclude-dir` |
105-
| `--terragrunt-hclfmt-stdin` | `--stdin` |
106-
| `--terragrunt-hclvalidate-json` | `--json` |
107-
| `--terragrunt-hclvalidate-show-config-path` | `--show-config-path` |
108-
| `--terragrunt-json-disable-dependent-modules` | `--disable-dependent-modules` |
109-
| `--terragrunt-json-out` | `--out` |
110-
| `--terragrunt-modules-that-include` | `--units-that-include` |
111-
| `--terragrunt-queue-include-units-reading` | `--queue-include-units-reading` |
73+
| Old Flag | New Flag |
74+
| ------------------------------------------------- | -------------------------------------- |
75+
| `--terragrunt-check` | `--check` |
76+
| `--terragrunt-config` | `--config` |
77+
| `--terragrunt-debug` | `--inputs-debug` |
78+
| `--terragrunt-diff` | `--diff` |
79+
| `--terragrunt-disable-bucket-update` | `--disable-bucket-update` |
80+
| `--terragrunt-disable-command-validation` | `--disable-command-validation` |
81+
| `--terragrunt-download-dir` | `--download-dir` |
82+
| `--terragrunt-exclude-dir` | `--queue-exclude-dir` |
83+
| `--terragrunt-excludes-file` | `--queue-excludes-file` |
84+
| `--terragrunt-fail-on-state-bucket-creation` | `--backend-require-bootstrap` |
11285
| `--terragrunt-fetch-dependency-output-from-state` | `--dependency-fetch-output-from-state` |
113-
| `--terragrunt-use-partial-parse-config-cache` | `--use-partial-parse-config-cache` |
114-
| `--terragrunt-fail-on-state-bucket-creation` | `--backend-require-bootstrap` |
115-
| `--terragrunt-disable-bucket-update` | `--disable-bucket-update` |
116-
| `--terragrunt-disable-command-validation` | `--disable-command-validation` |
117-
| `--terragrunt-provider-cache` | `--provider-cache` |
118-
| `--terragrunt-provider-cache-dir` | `--provider-cache-dir` |
119-
| `--terragrunt-provider-cache-hostname` | `--provider-cache-hostname` |
120-
| `--terragrunt-provider-cache-port` | `--provider-cache-port` |
121-
| `--terragrunt-provider-cache-token` | `--provider-cache-token` |
122-
| `--terragrunt-provider-cache-registry-names` | `--provider-cache-registry-names` |
123-
| `--terragrunt-out-dir` | `--out-dir` |
124-
| `--terragrunt-json-out-dir` | `--json-out-dir` |
125-
| `--terragrunt-forward-tf-stdout` | `--tf-forward-stdout` |
126-
| `--terragrunt-no-destroy-dependencies-check` | `--no-destroy-dependencies-check` |
86+
| `--terragrunt-forward-tf-stdout` | `--tf-forward-stdout` |
87+
| `--terragrunt-hclfmt-exclude-dir` | `--exclude-dir` |
88+
| `--terragrunt-hclfmt-file` | `--file` |
89+
| `--terragrunt-hclfmt-stdin` | `--stdin` |
90+
| `--terragrunt-hclvalidate-json` | `--json` |
91+
| `--terragrunt-hclvalidate-show-config-path` | `--show-config-path` |
92+
| `--terragrunt-iam-assume-role-duration` | `--iam-assume-role-duration` |
93+
| `--terragrunt-iam-role` | `--iam-assume-role` |
94+
| `--terragrunt-iam-web-identity-token` | `--iam-assume-role-web-identity-token` |
95+
| `--terragrunt-ignore-dependency-errors` | `--queue-ignore-errors` |
96+
| `--terragrunt-ignore-dependency-order` | `--queue-ignore-dag-order` |
97+
| `--terragrunt-ignore-external-dependencies` | `--queue-exclude-external` |
98+
| `--terragrunt-include-dir` | `--queue-include-dir` |
99+
| `--terragrunt-include-external-dependencies` | `--queue-include-external` |
100+
| `--terragrunt-json-disable-dependent-modules` | `--disable-dependent-modules` |
101+
| `--terragrunt-json-out-dir` | `--json-out-dir` |
102+
| `--terragrunt-json-out` | `--out` |
103+
| `--terragrunt-log-custom-format` | `--log-custom-format` |
104+
| `--terragrunt-log-disable` | `--log-disable` |
105+
| `--terragrunt-log-format` | `--log-format` |
106+
| `--terragrunt-log-level` | `--log-level` |
107+
| `--terragrunt-log-show-abs-paths` | `--log-show-abs-paths` |
108+
| `--terragrunt-modules-that-include` | `--units-that-include` |
109+
| `--terragrunt-no-auto-approve` | `--no-auto-approve` |
110+
| `--terragrunt-no-auto-init` | `--no-auto-init` |
111+
| `--terragrunt-no-auto-retry` | `--no-auto-retry` |
112+
| `--terragrunt-no-color` | `--no-color` |
113+
| `--terragrunt-no-destroy-dependencies-check` | `--no-destroy-dependencies-check` |
114+
| `--terragrunt-out-dir` | `--out-dir` |
115+
| `--terragrunt-parallelism` | `--parallelism` |
116+
| `--terragrunt-provider-cache-dir` | `--provider-cache-dir` |
117+
| `--terragrunt-provider-cache-hostname` | `--provider-cache-hostname` |
118+
| `--terragrunt-provider-cache-port` | `--provider-cache-port` |
119+
| `--terragrunt-provider-cache-registry-names` | `--provider-cache-registry-names` |
120+
| `--terragrunt-provider-cache-token` | `--provider-cache-token` |
121+
| `--terragrunt-provider-cache` | `--provider-cache` |
122+
| `--terragrunt-queue-include-units-reading` | `--queue-include-units-reading` |
123+
| `--terragrunt-source-map` | `--source-map` |
124+
| `--terragrunt-source-update` | `--source-update` |
125+
| `--terragrunt-source` | `--source` |
126+
| `--terragrunt-strict-include` | `--queue-strict-include` |
127+
| `--terragrunt-strict-validate` | `--strict-validate` |
128+
| `--terragrunt-use-partial-parse-config-cache` | `--use-partial-parse-config-cache` |
129+
| `--terragrunt-working-dir` | `--working-dir` |
127130

128131
### Update environment variables
129132

0 commit comments

Comments
 (0)