devopsacademyau / 2020-feb-project1-group2

Creative Commons Attribution Share Alike 4.0 International
0 stars 2 forks source link

IaC - RDS DB #36

Closed starkmatt closed 4 years ago

starkmatt commented 4 years ago

RDS DB Code

Within this code, I've made a few changes when compared to my first revision of the RDS Code. It contains 3 files.

SG.tf

variables.tf

RDS.tf

It will create in the following AZ's (ap-southeast-2a /b) Running Serverless engine version 5.7.12

To run this please clone the repo and run

terraform init terraform plan terraform apply

Unfortunately there is a bug upon creation. Terraform advised the following during the apply phase

Error: error creating RDS cluster: InvalidParameterValue: The engine mode serverless you requested is currently unavailable. status code: 400, request id: 8596d824-df61-4457-9338-33cf4c0752be

https://github.com/terraform-providers/terraform-provider-aws/issues/5593 Git Issue #5593 on Terraform repo advises that this issue may be with serverless requiring a specific engine when running.

As per Kiko's instruction located here https://github.com/devopsacademyau/2020-feb-project1-group2/issues/14

Adding Aurora (MySQL 5.7) 2.07.2 Doesn't seem to work either.

Please let me know your thoughts regarding this Team!

starkmatt commented 4 years ago

RDS DB Code v0.3

Please test and advise

kikobr82 commented 4 years ago

few comments not resolved yet. Also, you have a conflict in the variables file that needs to be solved.