-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDS and secrets manager terraform - deadlock issue #19683
Comments
Yes , you have todo it on two steps - see here for cloud formation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html unfortunately terraform does not support such secret target attachment yet , otherwise you could do everything from terraform ( no console, starting with a random password and rotate then ) , see here: Chris |
Thanks for the response Chris. Do you know when this capability will be enabled for Terraform ? |
No, the best you can do is vote on that issue #9183 such that it may get prioritised higher by Hashicorp. |
Hi @Nimsgs , thank you for raising this issue. Just echoing @chrisbulgaria 's comment above to vote and follow #9183 to stay up-to-date with future terraform provider support. I'm going to close this issue to ensure we have one place to track community interest for the feature support, but thanks again! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
I am creating secrets manager through the console and RDS using terraform. While creating RDS, it requires a username and password which needs to be retrieved from Secrets manager as below:
username = local.db_secret.username
password = local.db_secret.password
But while creating a secrets manager for storing the RDS credentials, it asks for the RDS host- This is mandatory while creating the secrets- Select which RDS database this secret will access
Now before creating the RDS how will I pass this host to secrets manager and for creating the rds, I need to access the secrets manager for username and password. This is a chicken egg problem. Is there any solution to handle this deadlock situation ?
The text was updated successfully, but these errors were encountered: