This is a terraform_deploy script to create sample Elasticbeanstalk application.
Install terraform and awscli
Clone repository and make application_deploy.sh executable
> chmod +x application_deploy.sh
> application_deploy.sh -h
Usage: application_deploy.sh [options] -n APPLICATION_NAME -e ENV [command]
Options:
-h, --help output help information
Commands:
[command] terraform command and options
application_deploy.sh -n application-php -e development -e staging plan
application_deploy.sh -n application-php -e development -e staging apply
application_deploy.sh -n application-php -e development -e staging -e production apply -auto-approve
application_deploy.sh -n application-php -e development -e staging plan
application_deploy.sh -n application-php -e development destroy