2014-07-28 19:43:00 +02:00
|
|
|
---
|
|
|
|
layout: "intro"
|
|
|
|
page_title: "Count"
|
|
|
|
sidebar_current: "examples-count"
|
|
|
|
---
|
|
|
|
|
|
|
|
# Count Example
|
|
|
|
|
2014-10-14 07:18:45 +02:00
|
|
|
[**Example Contents**](https://github.com/hashicorp/terraform/tree/master/examples/count)
|
|
|
|
|
2014-07-28 19:43:00 +02:00
|
|
|
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.
|
|
|
|
|
2014-10-14 07:18:45 +02:00
|
|
|
As with all examples, just copy and paste the example and run
|
|
|
|
`terraform apply` to see it work.
|