antonputra / tutorials

DevOps Tutorials
https://youtube.com/antonputra
MIT License
3.19k stars 2.5k forks source link

Lesson 162 Part 3: Connection to the database timeouts. #320

Closed Brain2life closed 2 weeks ago

Brain2life commented 1 month ago

When connecting to the PostgreSQL database deployed from lessons/162/3-part it timeouts.

I've added SG group with inbound rule for PostgreSQL port 5432 and it solved the issue.

Terraform code is missing the part for SG definition.

antonputra commented 2 weeks ago

thanks, @Brain2life. i think i missed it and didn’t test it because the primary goal was to show secrets. if you can, please create a PR; that would be great!

Brain2life commented 2 weeks ago

Hi @antonputra , created PR https://github.com/antonputra/tutorials/pull/340 Please have a look.

antonputra commented 2 weeks ago

Thank you @Brain2life , just merged