terraform/website/intro/examples/count.markdown

21 lines
664 B
Markdown

---
layout: "intro"
page_title: "Count"
sidebar_current: "examples-count"
description: |-
The count parameter on resources can simplify configurations and let you scale resources by simply incrementing a number.
---
# Count Example
[**Example Source Code**](https://github.com/terraform-providers/terraform-provider-aws/tree/master/examples/count)
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 a list of resources
for use elsewhere.
As with all the examples, just copy and paste the example and run
`terraform apply` to see it work.