Terraform version: 0.11.14
Custom VPC created by Team1
Database engine: AWS Aurora(mysql)
Engine version: 5.6.10a
Used dynamodb lock so that multiple team members can't run terraform apply at the same time
Added multiple regions to test
Made use of interpolations in our db_cluster file
terraform init
source sentenv.sh comfigurations/regions/us-east-1.tfvars
terraform apply -var-file configurations/us-east-1.tfvars
Make sure to use your own backend (s3 bucket) in .tfvars files
Waiting on other teams
RDS gets created but endpoints take too long to create.
Fixed our .tfvars file to have the correct information (our backend (S3)). This resolved 1st issue we had.
Communication with other teams whenever state file was broken.
Team1 had to fix their state file couple times, then were able to continue with our task
Created an EC2 instance on public subnet of the VPC that was created by Team1. This way our database and the instance would be on the same VPC.
mysql -h <RDS endpoint> -u <mysqlusername> -p
Created RDS successfully with the outputs as below:
Tatiana - 5 hours (+ additional 5 hours )
Gulmira - 5 hours
Safa - 5 hours
Merve - 5 hours
Tatiana - 7 hours
Gulmira - 7 hours
Safa - 7 hours
Merve - 7 hours
Tatiana - 6 hours
Gulmira - 6 hours
Safa - 6 hours (+ additional 2.5 hours)
Merve - 6 hours (+ additional 2.5 hours)