1

We have a java application running in a Fargate container and this application needs to connect and have limited access to the Aurora Postgesql DB.

How can this java application connect to Aurora Postgres DB?

I thought of creating a user account within the db and assigning policies but I need this to be done using Terraform.

Is my approach right? if yes how do we create a user account in Aurora Postgresql db using Terraform.

James Z
  • 12,209
  • 10
  • 24
  • 44
Vidya
  • 11
  • 2
  • 1
    What have you tried already? – Marko E May 05 '22 at 07:48
  • I have created a database user and attached rds-db:connect policy to ECS Tasks. Now I want the Fargate container to use this user to connect to the Aurora Postgresql DB. Also I don't want to manually connect using AWS CLI, I want the aws authentcation taken to be generated automatedly. How can this be done? – Vidya May 10 '22 at 05:31
  • Please read this: https://stackoverflow.com/help/how-to-ask – Marko E May 10 '22 at 06:16

0 Answers0