Skip to content

Commit 09a5fd8

Browse files
committed
docs: Cleaning up docs gating
1 parent 53eca0b commit 09a5fd8

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/src/data/commands/render.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ flags:
1919
---
2020

2121
import { Aside } from '@astrojs/starlight/components';
22+
import Before from '@components/Before.astro';
23+
import Since from '@components/Since.astro';
2224

2325
Render the Terragrunt configuration in the current working directory, with as much work done as possible beforehand (that is, with all includes merged, dependencies resolved/interpolated, function calls executed, etc).
2426

@@ -88,6 +90,12 @@ This will render all configurations discovered from the current working director
8890
8991
## Expanded dependencies
9092
93+
<Before version="1.1.4">
94+
Previewing how a `dependency` block expands will be supported in v1.1.4.
95+
</Before>
96+
97+
<Since version="1.1.4">
98+
9199
<Aside type="tip" title="Experimental">
92100
Expanding a `dependency` block over a `count` or `for_each` is gated behind the [`block-iteration`](/reference/experiments/active#block-iteration) experiment. Enable it with `--experiment=block-iteration` or `TG_EXPERIMENT=block-iteration`.
93101
</Aside>
@@ -141,3 +149,5 @@ dependency "shard" {
141149
The expanded blocks are in comments because they are not a valid Terragrunt configuration: they all carry one label, and only the last block with a given label can be referenced. Terragrunt warns about that, and rejects it outright under the `duplicate-dependency-labels` [strict control](/reference/strict-controls/active#duplicate-dependency-labels). They are present as comments to help you predict how Terragrunt will expand the block with an `expansion` block.
142150
143151
A `dependency` block with no `expansion` block renders as it always has.
152+
153+
</Since>

docs/src/data/strict-controls/duplicate-dependency-labels.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: duplicate-dependency-labels
33
status: active
4+
since: "1.1.4"
45
---
56

67
Throw an error when two `dependency` blocks in one configuration claim the same address.

0 commit comments

Comments
 (0)