examples: Update README to reflect 0.10 init/apply workflow

Previous instructions assumed the pre-0.9 version of init, which served
a different purpose.
This commit is contained in:
Martin Atkins 2017-07-24 15:23:49 -07:00
parent 0e0c7883e4
commit 583c24a3c2
1 changed files with 3 additions and 6 deletions

View File

@ -4,15 +4,12 @@ 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 have their own README you can read for more details on what the example
does. does.
To run any example, just run `terraform apply` within that directory To try any example, clone this repository and run the following commands
if you have Terraform checked out. Or, you can run it directly from git: from within the example's directory:
``` ```
$ terraform init github.com/hashicorp/terraform/examples/cross-provider $ terraform init
...
$ terraform apply $ terraform apply
...
``` ```
## Provider-specific Examples ## Provider-specific Examples