2014-07-27 21:58:49 +02:00
|
|
|
---
|
|
|
|
layout: "intro"
|
|
|
|
page_title: "Example Configurations"
|
|
|
|
sidebar_current: "examples"
|
|
|
|
---
|
|
|
|
|
|
|
|
# Example Configurations
|
|
|
|
|
|
|
|
These examples are designed to help you understand some
|
|
|
|
of the ways Terraform can be used.
|
|
|
|
|
|
|
|
Other than configuring the provider (with, for example, an API key),
|
|
|
|
the examples are ready to run as-is.
|
|
|
|
|
|
|
|
|
|
|
|
<div class="alert alert-block alert-warning">
|
2014-07-28 18:35:49 +02:00
|
|
|
<div>
|
2014-07-27 21:58:49 +02:00
|
|
|
<strong>Note:</strong> The examples use real providers that launch
|
|
|
|
<strong>real</strong> resources. That means they can cost money to
|
|
|
|
experiment with. To avoid unexpected charges, be sure to understand the price
|
|
|
|
of resources before launching them, and verify any unneeded resources
|
2014-07-28 18:35:49 +02:00
|
|
|
are cleaned up afterwards.</div>
|
2014-07-27 21:58:49 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
Experimenting in this way can help you learn how the Terraform lifecycle
|
|
|
|
works, as well as how to repeatedly create and destroy infrastructure.
|
|
|
|
|
|
|
|
If you're completely new to Terraform, we recommend reading the
|
2014-07-29 00:27:31 +02:00
|
|
|
[getting started guide](/intro/getting-started/install.html) before diving into
|
2014-07-27 21:58:49 +02:00
|
|
|
the examples. However, due to the intuitive configuration Terraform
|
|
|
|
uses it isn't required.
|
|
|
|
|
|
|
|
To use these examples, Terraform must first be installed on your machine.
|
|
|
|
You can install Terraform from the [downloads page](/downloads.html).
|