|
1 | 1 | # Terraform: Up & Running Code |
2 | 2 |
|
3 | | -This repo contains the code samples for the book *[Terraform: Up and Running](http://www.terraformupandrunning.com)*, |
4 | | -2nd edition, by [Yevgeniy Brikman](http://www.ybrikman.com). |
| 3 | +This repo contains the code samples for the book *[Terraform: Up and Running](http://www.terraformupandrunning.com)*, |
| 4 | +by [Yevgeniy Brikman](http://www.ybrikman.com). |
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 | | -## Quick start |
10 | | - |
11 | | -All the code is in the [code](/code) folder. It is organized by language (terraform, bash, ruby, etc) and within each |
12 | | -language, by chapter. Since this code comes from a book about Terraform, the vast majority of the code consists of |
13 | | -Terraform examples in the [code/terraform folder](/code/terraform). |
| 9 | +## Looking for the 1st, 2nd, or 3rd edition? |
14 | 10 |
|
15 | | -For instructions on running the code, please consult the README in each folder, and, of course, the |
16 | | -*[Terraform: Up and Running](http://www.terraformupandrunning.com)* book. |
| 11 | +*Terraform: Up & Running* is now on its **3rd edition**; all the code in `master` is for this edition. If you're looking |
| 12 | +for code examples for other editions, please see the following branches: |
17 | 13 |
|
| 14 | +* [1st-edition branch](https://github.com/brikis98/terraform-up-and-running-code/tree/1st-edition). |
| 15 | +* [2nd-edition branch](https://github.com/brikis98/terraform-up-and-running-code/tree/2nd-edition). |
| 16 | +* [3rd-edition branch](https://github.com/brikis98/terraform-up-and-running-code/tree/3rd-edition). |
18 | 17 |
|
19 | 18 |
|
20 | | -## More examples |
21 | | - |
22 | | -The example code in *Terraform: Up and Running* are mostly for Amazon Web Services (AWS). There is a project underway |
23 | | -to translate these examples to their equivalents on other cloud providers, such as Google Cloud and Azure, here: |
24 | | -https://github.com/mjuenema/Terraform-Up-and-Running-Code-Samples-Translated/. |
25 | 19 |
|
| 20 | +## Quick start |
26 | 21 |
|
| 22 | +All the code is in the [code](/code) folder. The code examples are organized first by the tool or language and then |
| 23 | +by chapter. For example, if you're looking at an example of Terraform code in Chapter 2, you'll find it in the |
| 24 | +[code/terraform/02-intro-to-terraform-syntax](code/terraform/02-intro-to-terraform-syntax) folder; if you're looking at |
| 25 | +an OPA (Rego) example in Chapter 9, you'll find it in the |
| 26 | +[code/terraform/09-testing-terraform-code](code/terraform/09-testing-terraform-code) folder. |
27 | 27 |
|
28 | | -## Looking for the 1st edition? |
| 28 | +Since this code comes from a book about Terraform, the vast majority of the code consists of Terraform examples in the |
| 29 | +[code/terraform folder](/code/terraform). |
29 | 30 |
|
30 | | -All the code examples in the `master` branch are for the 2nd edition of *Terraform: Up & Running*. If you're looking |
31 | | -for the code examples from the 1st edition, please head over to the |
32 | | -[1st-edition branch](https://github.com/brikis98/terraform-up-and-running-code/tree/1st-edition). |
| 31 | +For instructions on running the code, please consult the README in each folder, and, of course, the |
| 32 | +*[Terraform: Up and Running](http://www.terraformupandrunning.com)* book. |
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
|
0 commit comments