This is a test in terraform to create a Beanstalk java microservice with RDS.
Run:
cd ../code
./gradlew clean && ./gradlew build
this will generate a jar file.
Prerequisites:
- aws account and cli installed
- jar built so we can bootstrap the first app version generating the first time the beanstalk env
Then run:
terraform init
terraform plan
terraform apply -auto-approve
terraform destroy