xudyang1 / terraform-up-and-running-code

Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman

Home Page:http://www.terraformupandrunning.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform: Up & Running Code

This repo contains the code samples for the book Terraform: Up and Running, by Yevgeniy Brikman.

Looking for the 1st, 2nd, or 3rd edition?

Terraform: Up & Running is now on its 3rd edition; all the code in master is for this edition. If you're looking for code examples for other editions, please see the following branches:

Quick start

All the code is in the code folder. The code examples are organized first by the tool or language and then by chapter. For example, if you're looking at an example of Terraform code in Chapter 2, you'll find it in the code/terraform/02-intro-to-terraform-syntax folder; if you're looking at an OPA (Rego) example in Chapter 9, you'll find it in the code/terraform/09-testing-terraform-code folder.

Since this code comes from a book about Terraform, the vast majority of the code consists of Terraform examples in the code/terraform folder.

For instructions on running the code, please consult the README in each folder, and, of course, the Terraform: Up and Running book.

License

This code is released under the MIT License. See LICENSE.txt.

About

Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman

http://www.terraformupandrunning.com/

License:MIT License


Languages

Language:HCL 85.4%Language:Go 7.5%Language:Ruby 5.9%Language:Shell 1.1%Language:Open Policy Agent 0.0%