├── .gitattributes ├── .gitignore ├── Chapter02 └── template.tf ├── Chapter03 ├── modules │ └── application.tf └── template.tf ├── Chapter04 ├── custom_data_source.rb ├── development.tfvars ├── id_rsa.pub ├── modules │ ├── application.tf │ ├── user_data.sh.tpl │ └── variables.tf ├── template.tf └── variables.tf ├── Chapter05 ├── development.tfvars ├── id_rsa.pub ├── inventory ├── modules │ ├── application.tf │ ├── setup.pp │ ├── user_data.sh.tpl │ └── variables.tf ├── specs │ └── base_spec.rb ├── template.tf └── variables.tf ├── Chapter06 ├── base.json ├── development.tfvars ├── id_rsa.pub ├── modules │ └── application │ │ ├── application.tf │ │ ├── setup.pp │ │ ├── user_data.sh.tpl │ │ └── variables.tf ├── template.tf └── variables.tf ├── Chapter07 ├── packt-terraform-app-module │ ├── application.tf │ ├── setup.pp │ ├── user_data.sh.tpl │ └── variables.tf ├── packt-terraform-book │ ├── base.json │ ├── development.tfvars │ ├── id_rsa.pub │ ├── template.tf │ └── variables.tf ├── packt-terraform-iam │ ├── policies │ │ ├── cloudwatch=@put_metric.json │ │ └── sts=@assume_role.json │ └── template.tf └── packt-terraform-vpc │ ├── template.tf │ └── variables.tf └── README.md /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/.gitignore -------------------------------------------------------------------------------- /Chapter02/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter02/template.tf -------------------------------------------------------------------------------- /Chapter03/modules/application.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter03/modules/application.tf -------------------------------------------------------------------------------- /Chapter03/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter03/template.tf -------------------------------------------------------------------------------- /Chapter04/custom_data_source.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/custom_data_source.rb -------------------------------------------------------------------------------- /Chapter04/development.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/development.tfvars -------------------------------------------------------------------------------- /Chapter04/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/id_rsa.pub -------------------------------------------------------------------------------- /Chapter04/modules/application.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/modules/application.tf -------------------------------------------------------------------------------- /Chapter04/modules/user_data.sh.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/modules/user_data.sh.tpl -------------------------------------------------------------------------------- /Chapter04/modules/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/modules/variables.tf -------------------------------------------------------------------------------- /Chapter04/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/template.tf -------------------------------------------------------------------------------- /Chapter04/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter04/variables.tf -------------------------------------------------------------------------------- /Chapter05/development.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/development.tfvars -------------------------------------------------------------------------------- /Chapter05/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/id_rsa.pub -------------------------------------------------------------------------------- /Chapter05/inventory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/inventory -------------------------------------------------------------------------------- /Chapter05/modules/application.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/modules/application.tf -------------------------------------------------------------------------------- /Chapter05/modules/setup.pp: -------------------------------------------------------------------------------- 1 | host { 'repository': 2 | ip => '10.24.45.127', 3 | } 4 | -------------------------------------------------------------------------------- /Chapter05/modules/user_data.sh.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/modules/user_data.sh.tpl -------------------------------------------------------------------------------- /Chapter05/modules/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/modules/variables.tf -------------------------------------------------------------------------------- /Chapter05/specs/base_spec.rb: -------------------------------------------------------------------------------- 1 | describe package('wget') do 2 | it { should be_installed } 3 | end 4 | -------------------------------------------------------------------------------- /Chapter05/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/template.tf -------------------------------------------------------------------------------- /Chapter05/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter05/variables.tf -------------------------------------------------------------------------------- /Chapter06/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/base.json -------------------------------------------------------------------------------- /Chapter06/development.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/development.tfvars -------------------------------------------------------------------------------- /Chapter06/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/id_rsa.pub -------------------------------------------------------------------------------- /Chapter06/modules/application/application.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/modules/application/application.tf -------------------------------------------------------------------------------- /Chapter06/modules/application/setup.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/modules/application/setup.pp -------------------------------------------------------------------------------- /Chapter06/modules/application/user_data.sh.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/modules/application/user_data.sh.tpl -------------------------------------------------------------------------------- /Chapter06/modules/application/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/modules/application/variables.tf -------------------------------------------------------------------------------- /Chapter06/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/template.tf -------------------------------------------------------------------------------- /Chapter06/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter06/variables.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-app-module/application.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-app-module/application.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-app-module/setup.pp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-app-module/setup.pp -------------------------------------------------------------------------------- /Chapter07/packt-terraform-app-module/user_data.sh.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-app-module/user_data.sh.tpl -------------------------------------------------------------------------------- /Chapter07/packt-terraform-app-module/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-app-module/variables.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-book/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-book/base.json -------------------------------------------------------------------------------- /Chapter07/packt-terraform-book/development.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-book/development.tfvars -------------------------------------------------------------------------------- /Chapter07/packt-terraform-book/id_rsa.pub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-book/id_rsa.pub -------------------------------------------------------------------------------- /Chapter07/packt-terraform-book/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-book/template.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-book/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-book/variables.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-iam/policies/cloudwatch=@put_metric.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-iam/policies/cloudwatch=@put_metric.json -------------------------------------------------------------------------------- /Chapter07/packt-terraform-iam/policies/sts=@assume_role.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-iam/policies/sts=@assume_role.json -------------------------------------------------------------------------------- /Chapter07/packt-terraform-iam/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-iam/template.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-vpc/template.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-vpc/template.tf -------------------------------------------------------------------------------- /Chapter07/packt-terraform-vpc/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/Chapter07/packt-terraform-vpc/variables.tf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Getting-Started-with-Terraform-Second-Edition/HEAD/README.md --------------------------------------------------------------------------------