Complete Terraform Course - Beginner to Advanced 2021
- Code Editor, where we write TF Configuration Code e.g. Visual Studio Code: https://code.visualstudio.com/download
- Account on GitlLab, because our Terraform's Configuration Code is hosted on GitLab
- An AWS Account, because we are automating AWS infrastructure with Terraform
- Code Editor, e.g. Visual Studio Code: https://code.visualstudio.com/download
- Installation Guide for Terraform: https://learn.hashicorp.com/tutorials/terraform/install-cli
- Guide of how to create an AWS Account: https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account/
- AWS 1-Year Free Tier information: https://aws.amazon.com/free
- Installation Guides for AWS CLI: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html (not needed until "Environment Variable" Lecture)
- Terraform - 1.1.6
- AWS provider - 4.2.0
- VPC module - 3.12.0
terraform init
terraform plan
terraform apply -var-file terraform-dev.tfvars
terraform destroy -target aws_vpc.myapp-vpc
terraform destroy
terraform state list
terraform state show aws_vpc.myapp-vpc
export TF_VAR_avail_zone="eu-west-3a"
- Amazon EC2 - Virtual Server: https://aws.amazon.com/ec2
- Amazon VPC - Your Virtual Private Network on AWS: https://aws.amazon.com/vpc
- Subnet - Subnetwork, logical subdivision of IP network: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
- Internet Gateway - a VPC component: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
- Security Group - Virtual Firewall: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
- Route Table - Configuring Network Traffic: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Route_Tables.html
- Amazon S3 - Simple Storage: https://aws.amazon.com/s3/ (Udemy Section 7: when configuring Remote State)