Since we want to use aws RDS postgres, we need a tf module, that allows for the creation of an RDS postgres instance.
closes #60
PR instructions
checkout branch
deploy example rds postgres database:
cd examples/aws/rds_postgres_databse
terraform init
terraform plan
terraform apply ----> wait for quite a while (sometimes up to 5 min)
connect to database via psql with the help of the connection string that is output after successful deployment (expectation you have postgres installed locally, otherwise you won't have psql)
expected behaviour you can connect to you database (to exit use \q or simply write exit and hit enter)
adjust example, so that the instance is not publicly accessible run terraform apply -> expected behaviour: secrutiy ingress rule will be destroyed ----> wait again forever
try to reconnect to the instance: expected behaviour, you should not be able to connect to db instance
remember to clean up after yourself: terraform destroy
The steps of acceptance
✔ I executed the PR instructions and everything worked.
✔ I checked the requirements for the ticket, and they are matching the PR.
✔ I am satisfied with the code and left annotations if I had some ideas.
Summary
Since we want to use aws RDS postgres, we need a tf module, that allows for the creation of an RDS postgres instance. closes #60
PR instructions
examples/aws/rds_postgres_databse
terraform init
terraform plan
terraform apply
----> wait for quite a while (sometimes up to 5 min)\q
or simply write exit and hit enter)terraform apply
-> expected behaviour: secrutiy ingress rule will be destroyed ----> wait again foreverterraform destroy
The steps of acceptance
✔ I executed the PR instructions and everything worked.
✔ I checked the requirements for the ticket, and they are matching the PR.
✔ I am satisfied with the code and left annotations if I had some ideas.