- VPC, ECR
- RDS -> VPC
- ALB -> VPC
- ECS -> RDS & ALB & VPC
Add
alias tf="terraform"
to~/.zshrc
.
Validate config:
tf format
tf validate
Run dev:
tf init -var-file="environments/dev/terraform.tfvars"
tf plan -var-file="environments/dev/terraform.tfvars"
tf apply -var-file="environments/dev/terraform.tfvars"
Run prod:
tf init -var-file="environments/prod/terraform.tfvars"
tf plan -var-file="environments/prod/terraform.tfvars"
tf apply -var-file="environments/prod/terraform.tfvars"
- alarms
- configure SSL/TLS certificate, 443
- alarms
- alarms
- move to private subnets and link to NAT to access ECR images