├── .gitignore ├── 1-using-modules ├── .terraform.lock.hcl ├── README.md ├── commands.txt ├── main.tf └── terraform.tfvars ├── 2-different-providers-for-different-regions ├── README.md ├── commands.txt ├── main.tf └── terraform.tfvars.example ├── 3-different-accounts ├── 1-create-roles │ ├── commands.txt │ ├── main.tf │ └── terraform.tfvars ├── 2-create-security-vpc │ ├── commands.txt │ ├── main.tf │ └── terraform.tfvars ├── 3-create-dev-vpc │ ├── commands.txt │ ├── main.tf │ ├── peering.tf │ └── terraform.tfvars └── README.md ├── 4-remote-state-setup ├── 1-setup-tools-for-remote-state │ ├── main.tf │ └── terraform.tfvars ├── 2-using-backend-and-migrations │ ├── backend.tf │ ├── main.tf │ └── terraform.tfvars ├── README.md └── commands.txt ├── LICENSE └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .terraform -------------------------------------------------------------------------------- /1-using-modules/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/1-using-modules/.terraform.lock.hcl -------------------------------------------------------------------------------- /1-using-modules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/1-using-modules/README.md -------------------------------------------------------------------------------- /1-using-modules/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/1-using-modules/commands.txt -------------------------------------------------------------------------------- /1-using-modules/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/1-using-modules/main.tf -------------------------------------------------------------------------------- /1-using-modules/terraform.tfvars: -------------------------------------------------------------------------------- 1 | region = "us-east-1" -------------------------------------------------------------------------------- /2-different-providers-for-different-regions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/2-different-providers-for-different-regions/README.md -------------------------------------------------------------------------------- /2-different-providers-for-different-regions/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/2-different-providers-for-different-regions/commands.txt -------------------------------------------------------------------------------- /2-different-providers-for-different-regions/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/2-different-providers-for-different-regions/main.tf -------------------------------------------------------------------------------- /2-different-providers-for-different-regions/terraform.tfvars.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/2-different-providers-for-different-regions/terraform.tfvars.example -------------------------------------------------------------------------------- /3-different-accounts/1-create-roles/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/1-create-roles/commands.txt -------------------------------------------------------------------------------- /3-different-accounts/1-create-roles/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/1-create-roles/main.tf -------------------------------------------------------------------------------- /3-different-accounts/1-create-roles/terraform.tfvars: -------------------------------------------------------------------------------- 1 | peering_users = ["ElVasquez"] -------------------------------------------------------------------------------- /3-different-accounts/2-create-security-vpc/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/2-create-security-vpc/commands.txt -------------------------------------------------------------------------------- /3-different-accounts/2-create-security-vpc/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/2-create-security-vpc/main.tf -------------------------------------------------------------------------------- /3-different-accounts/2-create-security-vpc/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/2-create-security-vpc/terraform.tfvars -------------------------------------------------------------------------------- /3-different-accounts/3-create-dev-vpc/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/3-create-dev-vpc/commands.txt -------------------------------------------------------------------------------- /3-different-accounts/3-create-dev-vpc/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/3-create-dev-vpc/main.tf -------------------------------------------------------------------------------- /3-different-accounts/3-create-dev-vpc/peering.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/3-create-dev-vpc/peering.tf -------------------------------------------------------------------------------- /3-different-accounts/3-create-dev-vpc/terraform.tfvars: -------------------------------------------------------------------------------- 1 | region = "us-east-1" -------------------------------------------------------------------------------- /3-different-accounts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/3-different-accounts/README.md -------------------------------------------------------------------------------- /4-remote-state-setup/1-setup-tools-for-remote-state/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/4-remote-state-setup/1-setup-tools-for-remote-state/main.tf -------------------------------------------------------------------------------- /4-remote-state-setup/1-setup-tools-for-remote-state/terraform.tfvars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/4-remote-state-setup/1-setup-tools-for-remote-state/terraform.tfvars -------------------------------------------------------------------------------- /4-remote-state-setup/2-using-backend-and-migrations/backend.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/4-remote-state-setup/2-using-backend-and-migrations/backend.tf -------------------------------------------------------------------------------- /4-remote-state-setup/2-using-backend-and-migrations/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/4-remote-state-setup/2-using-backend-and-migrations/main.tf -------------------------------------------------------------------------------- /4-remote-state-setup/2-using-backend-and-migrations/terraform.tfvars: -------------------------------------------------------------------------------- 1 | region = "us-east-1" -------------------------------------------------------------------------------- /4-remote-state-setup/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/4-remote-state-setup/README.md -------------------------------------------------------------------------------- /4-remote-state-setup/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/4-remote-state-setup/commands.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/osamamagdy/Learning-Terraform-AWS/HEAD/README.md --------------------------------------------------------------------------------