Skip to content

Commit 3553039

Browse files
authored
Merge pull request hashicorp#159 from omazin/patch-1
[Readme] Fix typo
2 parents 9fcd8e1 + 015d2f1 commit 3553039

File tree

1 file changed

+1
-1
lines changed
  • infrastructure-as-code/terraform-0.12-examples/dynamic-blocks-and-splat-expressions

1 file changed

+1
-1
lines changed

infrastructure-as-code/terraform-0.12-examples/dynamic-blocks-and-splat-expressions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dynamic Blocks and Splat Expressions Example
2-
This example example shows how the [dynamic blocks](https://www.terraform.io/docs/configuration/expressions.html#dynamic-blocks) can be used to dynamically create multiple instances of a block within a resource and how [splat expressions](https://www.terraform.io/docs/configuration/expressions.html#splat-expressions) (`[*]`) can now be used to iterate across those blocks. Recall that the old splat expression (`.*`) could only iterate across top-level attributes of a resource.
2+
This example shows how [dynamic blocks](https://www.terraform.io/docs/configuration/expressions.html#dynamic-blocks) can be used to dynamically create multiple instances of a block within a resource and how [splat expressions](https://www.terraform.io/docs/configuration/expressions.html#splat-expressions) (`[*]`) can now be used to iterate across those blocks. Recall that the old splat expression (`.*`) could only iterate across top-level attributes of a resource.
33

44
In this example, we create an AWS security group with 2 dynamically generated ingress blocks and then create an output that iterates across the ingress blocks to give us both ports.
55

0 commit comments

Comments
 (0)