Examples about Infrastructure as Code, using Terraform and AWS
Sample application: Hello From
- Install Terraform
- Install AWS CLI. If you have Pip, just run
pip install awscli
- Configure AWS CLI with your AWS credentials
aws configure
- Clone this repository
- (Optional) install and use Landscape
- HCL
- Provider
- Resource
- Init
- Plan
- Apply
- EC2 instance
- Security group
- State
- Local tfstate
- Destroy
- User data
- Remote backend
- Data source
- Local Values
- Count
- A launch configuration
- An autoscaling group
- An ELB
- Variables
- Variables file
- Output values
- Lists and Maps
- Environments
- Modules