Skip to content

Commit e4f3a9e

Browse files
committed
updated Terraform 0.12 README.md
1 parent 6d90034 commit e4f3a9e

File tree

1 file changed

+8
-14
lines changed
  • infrastructure-as-code/terraform-0.12-examples

1 file changed

+8
-14
lines changed

infrastructure-as-code/terraform-0.12-examples/README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# Terraform 0.12 Examples
22
This repository contains some Terraform 0.12 examples that demonstrate new HCL features and other Terraform enhancements that are being added to Terraform 0.12. Each sub-directory contains a separate example that can be run separately from the others by running `terraform init` followed by `terraform apply`.
33

4-
These examples have been tested with terraform 0.12 beta1.
4+
These examples have been tested with terraform 0.12.3.
55

66
The examples are:
77
1. [First Class Expressions](./first-class-expressions)
88
1. [For Expressions](./for-expressions)
99
1. [Dynamic Blocks and Splat Expresions](./dynamic-blocks-and-splat-expressions)
10+
1. [Advanced Dynamic Blocks](./advanced-dynamic-blocks)
1011
1. [Rich Value Types](./rich-value-types)
1112
1. [New Template Syntax](./new-template-syntax)
1213
1. [Reliable JSON Syntax](./reliable-json-syntax)
1314

14-
## Installing Terraform 0.12 Beta1
15+
## Installing Terraform 0.12
1516
1. Determine the location of the Terraform binary in your path. On a Mac of Linux machine, run `which terraform`. On a Windows machine, run `where terraform`.
16-
1. Move your current copy of the Terraform binary to a different location outside your path and remember where so you can restore it after using the Terraform 0.12 beta. Also note the old location.
17+
1. Move your current copy of the Terraform binary to a different location outside your path and remember where so you can restore it after using the Terraform 0.12 binary if you want to revert back to an earlier version. Also note the old location.
1718
1. On a Mac or Linux machine, rename the `~/.terraform.d` directory to something like `.terraformd`; on a Windows machine, rename `%USERPROFILE%\terraform.d` to `%USERPROFILE%\terraformd`. This way, you can restore the directory (if anything was in it) after the class.
18-
1. Download the Terraform 0.12 beta1 zip file for your OS from https://releases.hashicorp.com/terraform/0.12.0-beta1.
19+
1. Download the current Terraform 0.12.x zip file for your OS from https://www.terraform.io/downloads.html.
1920
1. Unzip the file and copy the terraform or terraform.exe binary to the location where your original terraform binary was. If you did not previously have the terraform binary deployed, copy it to a location within your path or edit your PATH environment variable to include the directory you put it in.
20-
1. Download the AWS and template providers for your OS from the [AWS provider](http://terraform-0.12.0-dev-snapshots.s3-website-us-west-2.amazonaws.com/terraform-provider-aws/1.60.0-dev20190216H00-dev/) and the [Template provider](http://terraform-0.12.0-dev-snapshots.s3-website-us-west-2.amazonaws.com/terraform-provider-template/2.1.0-dev20190216H00-dev/) directories.
21-
1. Unzip the provider binaries from the zip files.
22-
1. Create a directory to contain the providers:
23-
1. On a Mac, run `mkdir -p ~/.terraform.d/plugins/darwin_amd64`.
24-
1. On a Linux machine, run `mkdir -p ~/.terraform.d/plugins/linux_amd64`.
25-
1. On a Windows laptop, run `mkdir %USERPROFILE%\terraform.d\plugins\windows_amd64`.
26-
1. Copy the AWS and template provider binaries to the directory you created.
2721
1. Clone this repository to your laptop with the command `git clone https://github.com/hashicorp/terraform-guides.git`.
2822
1. Use `cd terraform-guides/infrastructure-as-code/terraform-0.12-examples` to change into the directory containing the Terraform 0.12 examples.
2923

@@ -54,6 +48,9 @@ See the example's [README.md](./for-expressions/README.md).
5448
## Dynamic Blocks and Splat Expressions Example
5549
See the example's [README.md](./dynamic-blocks-and-splat-expressions/README.md).
5650

51+
## Advanced Dynamic Blocks Example
52+
See the example's [README.md](./advanced-dynamic-blocks/README.md).
53+
5754
## Rich Value Types
5855
See the example's [README.md](./rich-value-types/README.md).
5956

@@ -62,6 +59,3 @@ See the example's [README.md](./new-template-syntax/README.md).
6259

6360
## Reliable JSON Syntax
6461
See the example's [README.md](./reliable-json-syntax/README.md).
65-
66-
## Cleanup
67-
When done with the Terraform 0.12 beta, delete the terraform.d or .terraform.d directory under your home directory and rename the original version of the directory to what it was before. Replace the Terraform 0.12 binary with the Terraform binary you were previously using in your path.

0 commit comments

Comments
 (0)