Skip to content
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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

wparr-circle
Copy link

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 as app - 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.

dbname: %%extra_dbname%%

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

@wparr-circle wparr-circle requested review from a team as code owners November 15, 2024 15:54
@bits-bot
Copy link
Collaborator

bits-bot commented Nov 15, 2024

CLA assistant check
All committers have signed the CLA.

…instance

Signed-off-by: wparr-circle <william.parr@circle.com>
@wparr-circle wparr-circle requested a review from a team as a code owner December 9, 2024 07:39
@lu-zhengda lu-zhengda added this to the 7.62.0 milestone Dec 18, 2024
@lu-zhengda lu-zhengda added the qa/rc-required Only for a PR that requires validation on the Release Candidate label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community qa/rc-required Only for a PR that requires validation on the Release Candidate team/database-monitoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aurora Discovery should support discovering the default database
5 participants