I am currently trying to setup a PostgreSQL database and need to install extensions for it.
There is a separate module for it with its own provider, that requires certain DB information, like username and password.
Thing is, when I try to leverage the db_instance_master_user_secret_arn for this, I get an exception.
"arn": one of `arn,name` must be specified
What I tried to do is read the secret using a Secrets Manager data source that depends on the rds module.
I am otherwise not certain, how to do it (should I use a local-exec for this?).
Hi,
I am currently trying to setup a PostgreSQL database and need to install extensions for it. There is a separate module for it with its own provider, that requires certain DB information, like username and password.
Thing is, when I try to leverage the
db_instance_master_user_secret_arn
for this, I get an exception."arn": one of `arn,name` must be specified
What I tried to do is read the secret using a Secrets Manager data source that depends on the rds module.
I am otherwise not certain, how to do it (should I use a local-exec for this?).
The code I used