Sample3. Deploy a sample application, using RDS
- Build custom image using packer. Build/redeploy workflow
- Deploy a sample application using user_data
- Create RDS MySQL database, pass db endpoint to application
- Adding outputs
# setup your AMS access parameters in ~/.aws
# Init terraform
terraform init
# Create instance
terraform apply