2014-10-14 02:24:25 +02:00
|
|
|
# Terraform Examples
|
|
|
|
|
|
|
|
This folder contains a set of Terraform examples. These examples each
|
|
|
|
have their own README you can read for more details on what the example
|
|
|
|
does.
|
|
|
|
|
|
|
|
To run any example, just run `terraform apply` within that directory
|
|
|
|
if you have Terraform checked out. Or, you can run it directly from git:
|
|
|
|
|
|
|
|
```
|
2017-07-22 01:51:24 +02:00
|
|
|
$ terraform init github.com/hashicorp/terraform/examples/cross-provider
|
2014-10-14 02:24:25 +02:00
|
|
|
...
|
|
|
|
|
|
|
|
$ terraform apply
|
|
|
|
...
|
|
|
|
```
|
2017-07-22 01:51:24 +02:00
|
|
|
|
|
|
|
## Provider-specific Examples
|
|
|
|
|
|
|
|
Terraform providers each live in their own repository. Some of these
|
|
|
|
repositories contain documentation specific to their provider:
|
|
|
|
|
|
|
|
* [AliCloud Examples](https://github.com/terraform-providers/terraform-provider-alicloud/tree/master/examples)
|
|
|
|
* [Amazon Web Services Examples](https://github.com/terraform-providers/terraform-provider-aws/tree/master/examples)
|