- VPC
- loadbalancer
- Elastic IP
run terraform terraform plan terraform apply
echo "${terraform output eip}" >> ansible/hosts
ansible-playbook -i ansible/hosts ansible/bootstrap.yml -u ec2-user
curl "${terraform output elb_dns_name}"
run terraform terraform plan terraform apply
echo "${terraform output eip}" >> ansible/hosts
ansible-playbook -i ansible/hosts ansible/bootstrap.yml -u ec2-user
curl "${terraform output elb_dns_name}"