-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Adding missing cautionary asides (#3970)
* fix: Adding cautions for `run` command * fix: Adding missing cautionary asides * fix: Addressing CodeRabbit feedback * Update docs-starlight/src/content/docs/02-features/02-stacks.mdx Co-authored-by: Brian T <[email protected]> * Update docs-starlight/src/content/docs/02-features/02-stacks.mdx Co-authored-by: Brian T <[email protected]> * Update docs-starlight/src/content/docs/02-features/02-stacks.mdx Co-authored-by: Brian T <[email protected]> * Update docs-starlight/src/data/flags/dependency-fetch-output-from-state.mdx Co-authored-by: Brian T <[email protected]> --------- Co-authored-by: Brian T <[email protected]>
- Loading branch information
Showing
31 changed files
with
272 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
docs-starlight/src/content/docs/04-reference/02-cli/02-commands/hcl/0902-lint.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: lint | ||
description: Lint Terragrunt HCL configuration. | ||
slug: docs/reference/cli/commands/hcl/lint | ||
sidebar: | ||
order: 902 | ||
badge: | ||
text: exp | ||
variant: tip | ||
--- | ||
|
||
<!-- This page is intentionally empty. Commands are defined in `src/pages/docs/reference/cli/commands/[...slug.astro] --> | ||
<!-- This file is a placeholder to ensure that other pages see commands in their sidebars, and so that the data is accessible in the docs collection. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: lint | ||
path: hcl/lint | ||
category: configuration | ||
sidebar: | ||
order: 902 | ||
description: Lint Terragrunt HCL configuration. | ||
usage: | | ||
Lint Terragrunt HCL configuration. | ||
experiment: | ||
control: cli-redesign | ||
name: cli redesign | ||
examples: | ||
- description: Lint all HCL files in the current directory. | ||
code: | | ||
terragrunt hcl lint | ||
- description: Throw an error if any variables are not set by the module a unit provisions. | ||
code: | | ||
terragrunt hcl lint --inputs | ||
- description: Throw an error if any inputs are set that are not defined in the module. | ||
code: | | ||
terragrunt hcl lint --inputs --strict | ||
flags: | ||
- hcl-lint-inputs | ||
- hcl-lint-strict | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: inputs | ||
description: Validate that all variables are set by the module a unit provisions. | ||
type: bool | ||
env: | ||
- TG_HCLVALIDATE_INPUTS | ||
--- | ||
|
||
When enabled, Terragrunt will validate that all variables are set by the module a unit provisions. | ||
|
||
Example: | ||
|
||
```bash | ||
terragrunt hcl lint --inputs | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: strict | ||
description: Throw an error if any inputs are set that are not defined in the module that a unit provisions. | ||
type: bool | ||
env: | ||
- TG_HCLVALIDATE_STRICT | ||
--- | ||
|
||
When enabled, Terragrunt will throw an error if any inputs are set that are not defined in the module that a unit provisions. | ||
|
||
Example: | ||
|
||
```bash | ||
terragrunt hcl lint --inputs --strict | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.