These examples are designed to help you understand some
of the ways Terraform can be used.
All examples in this section are ready to run as-is. Terraform will
All examples are ready to run as-is. Terraform will
ask for input of things such as variables and API keys. If you want to
conitnue using the example, you should save those parameters in a
"terraform.tfvars" file or in a `provider` config bock.
@ -31,5 +31,35 @@ If you're completely new to Terraform, we recommend reading the
the examples. However, due to the intuitive configuration Terraform
uses it isn't required.
## Examples
All of the examples are in the
["examples" directory within the Terraform source code](https://github.com/hashicorp/terraform/tree/master/examples). Each example (as well as the examples
directory) has a README explaining the goal of the example.
To use these examples, Terraform must first be installed on your machine.
You can install Terraform from the [downloads page](/downloads.html).
Once installed, you can use two steps to view and run the examples.
To clone any examples, run `terraform init` with the URL to the example: