-
Notifications
You must be signed in to change notification settings - Fork 1.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
feat(autodiscovery): support extra_dbname when templating a database instance #31138
Conversation
…instance Signed-off-by: wparr-circle <[email protected]>
/merge |
Devflow running:
|
/merge |
Devflow running:
|
…instance (#31138) Co-authored-by: lu-zhengda <[email protected]> Co-authored-by: wdhif <[email protected]>
What does this PR do?
Adds support for templating extra_dbname into a database template for the AWS Aurora auto discovery feature. This will allow users with a non-standard dbname set to automatically discover the primary database named in the Aurora instances.
Fixes #31123
Motivation
Non standardised dbname configuration in our organisations cloud real estate, where we follow neither a practice of using the default
postgres
db nor a standardised alternative such asapp
- which is the only hurdle we see in enabling autodiscovery.Describe how to test/QA your changes
Instance template configured with a database name, using the templated extra_dbname variable.
it would be best to test this against an aurora instance configured with a name which is not
postgres
, to avoid defaults.Possible Drawbacks / Trade-offs
Additional Notes