├── .gitignore ├── 001-output-module-values ├── .terraform.lock.hcl ├── README.md ├── main.tf └── modules │ └── network │ └── network.tf ├── 002-set-remote-backend ├── .terraform.lock.hcl ├── README.md └── provider.tf ├── 003-variable-local-output ├── .terraform.lock.hcl ├── README.md └── main.tf ├── 004-variable-types ├── README.md └── main.tf ├── 005-destroy-resources-methods ├── .terraform.lock.hcl ├── README.md ├── main.tf └── provider.tf ├── 006-terraform-for-each-usage ├── .terraform.lock.hcl ├── README.md ├── main.tf ├── provider.tf └── variables.tf ├── 007-terraform-workspace-example ├── .DS_Store ├── .terraform.lock.hcl ├── README.md ├── main.tf └── provider.tf ├── 008-terraform-provider-aliases ├── README.md ├── main.tf └── provider.tf ├── 009-terraform-version-constraints ├── README.md └── providers.tf ├── 010-resources-import ├── README.md └── main.tf ├── 011-terraform-dynamic-blocks ├── README.md ├── main.tf ├── provider.tf └── variables.tf └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/.gitignore -------------------------------------------------------------------------------- /001-output-module-values/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/001-output-module-values/.terraform.lock.hcl -------------------------------------------------------------------------------- /001-output-module-values/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/001-output-module-values/README.md -------------------------------------------------------------------------------- /001-output-module-values/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/001-output-module-values/main.tf -------------------------------------------------------------------------------- /001-output-module-values/modules/network/network.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/001-output-module-values/modules/network/network.tf -------------------------------------------------------------------------------- /002-set-remote-backend/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/002-set-remote-backend/.terraform.lock.hcl -------------------------------------------------------------------------------- /002-set-remote-backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/002-set-remote-backend/README.md -------------------------------------------------------------------------------- /002-set-remote-backend/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/002-set-remote-backend/provider.tf -------------------------------------------------------------------------------- /003-variable-local-output/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/003-variable-local-output/.terraform.lock.hcl -------------------------------------------------------------------------------- /003-variable-local-output/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/003-variable-local-output/README.md -------------------------------------------------------------------------------- /003-variable-local-output/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/003-variable-local-output/main.tf -------------------------------------------------------------------------------- /004-variable-types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/004-variable-types/README.md -------------------------------------------------------------------------------- /004-variable-types/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/004-variable-types/main.tf -------------------------------------------------------------------------------- /005-destroy-resources-methods/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/005-destroy-resources-methods/.terraform.lock.hcl -------------------------------------------------------------------------------- /005-destroy-resources-methods/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/005-destroy-resources-methods/README.md -------------------------------------------------------------------------------- /005-destroy-resources-methods/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/005-destroy-resources-methods/main.tf -------------------------------------------------------------------------------- /005-destroy-resources-methods/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/005-destroy-resources-methods/provider.tf -------------------------------------------------------------------------------- /006-terraform-for-each-usage/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/006-terraform-for-each-usage/.terraform.lock.hcl -------------------------------------------------------------------------------- /006-terraform-for-each-usage/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/006-terraform-for-each-usage/README.md -------------------------------------------------------------------------------- /006-terraform-for-each-usage/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/006-terraform-for-each-usage/main.tf -------------------------------------------------------------------------------- /006-terraform-for-each-usage/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/006-terraform-for-each-usage/provider.tf -------------------------------------------------------------------------------- /006-terraform-for-each-usage/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/006-terraform-for-each-usage/variables.tf -------------------------------------------------------------------------------- /007-terraform-workspace-example/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/007-terraform-workspace-example/.DS_Store -------------------------------------------------------------------------------- /007-terraform-workspace-example/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/007-terraform-workspace-example/.terraform.lock.hcl -------------------------------------------------------------------------------- /007-terraform-workspace-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/007-terraform-workspace-example/README.md -------------------------------------------------------------------------------- /007-terraform-workspace-example/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/007-terraform-workspace-example/main.tf -------------------------------------------------------------------------------- /007-terraform-workspace-example/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/007-terraform-workspace-example/provider.tf -------------------------------------------------------------------------------- /008-terraform-provider-aliases/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/008-terraform-provider-aliases/README.md -------------------------------------------------------------------------------- /008-terraform-provider-aliases/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/008-terraform-provider-aliases/main.tf -------------------------------------------------------------------------------- /008-terraform-provider-aliases/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/008-terraform-provider-aliases/provider.tf -------------------------------------------------------------------------------- /009-terraform-version-constraints/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/009-terraform-version-constraints/README.md -------------------------------------------------------------------------------- /009-terraform-version-constraints/providers.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/009-terraform-version-constraints/providers.tf -------------------------------------------------------------------------------- /010-resources-import/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/010-resources-import/README.md -------------------------------------------------------------------------------- /010-resources-import/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/010-resources-import/main.tf -------------------------------------------------------------------------------- /011-terraform-dynamic-blocks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/011-terraform-dynamic-blocks/README.md -------------------------------------------------------------------------------- /011-terraform-dynamic-blocks/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/011-terraform-dynamic-blocks/main.tf -------------------------------------------------------------------------------- /011-terraform-dynamic-blocks/provider.tf: -------------------------------------------------------------------------------- 1 | provider "azurerm" { 2 | features {} 3 | } -------------------------------------------------------------------------------- /011-terraform-dynamic-blocks/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/011-terraform-dynamic-blocks/variables.tf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenjd/terraform-101/HEAD/README.md --------------------------------------------------------------------------------