opentofu/examples/aws-count
Emil Hessman 4893eb8b55 docs: consistent use of array configuration syntax
The Terraform configuration syntax defines what arrays are.
Use the word array consistently throughout the documentation
instead of list.

The corresponding JSON datatype is called array as well, and
since the Terraform configuration syntax is interoperable with
JSON it makes sense to use the term array to describe them.
2015-01-13 06:59:12 +01:00
..
main.tf website: move all examples into the GitHub repo 2014-10-13 22:18:45 -07:00
outputs.tf website: move all examples into the GitHub repo 2014-10-13 22:18:45 -07:00
README.md docs: consistent use of array configuration syntax 2015-01-13 06:59:12 +01:00
variables.tf fix invalid mixing of hcl and json 2015-01-09 11:43:29 +11:00

Count Example

The count parameter on resources can simplify configurations and let you scale resources by simply incrementing a number.

Additionally, variables can be used to expand an array of resources for use elsewhere.

As with all examples, just copy and paste the example and run terraform apply to see it work.