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

add RDS, Aurora and legacy to MySQL backend #87

Merged
merged 4 commits into from
Sep 24, 2018

Conversation

commarla
Copy link

@commarla commarla commented Mar 25, 2018

Following the official Vault documentation, we should be able to use rds, aurora or legacy MySQL plugins

@ShimiTaNaka
Copy link

Any special reason this PR didn't make it to the release of 1.1.0?

Description: "Connection parameters for the mysql-rds-database-plugin plugin.",
Elem: connectionStringResource(),
MaxItems: 1,
ConflictsWith: calculateConflictsWith("mysql-rds", dbBackendTypes),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be mysql_rds instead of mysql-rds

Description: "Connection parameters for the mysql-aurora-database-plugin plugin.",
Elem: connectionStringResource(),
MaxItems: 1,
ConflictsWith: calculateConflictsWith("mysql-aurora", dbBackendTypes),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for rds

Description: "Connection parameters for the mysql-legacy-database-plugin plugin.",
Elem: connectionStringResource(),
MaxItems: 1,
ConflictsWith: calculateConflictsWith("mysql-legacy", dbBackendTypes),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for rds

@commarla
Copy link
Author

thanks @ShimiTaNaka for the review

@tfhartmann
Copy link

Any chance of this functionality making it into a release? I'm running up against this now. i.e wanting to use the mysql-aurora-database-plugin

@tyrannosaurus-becks tyrannosaurus-becks self-assigned this Sep 14, 2018
@tyrannosaurus-becks
Copy link
Contributor

@commarla hi! My sincere apologies for the extreme lag in responding to this PR, this repo's care was in transition internally from the Terraform team to the Vault team.

This code looks great, thank you for writing it! Would it be possible to add three acceptance tests, one covering each new backend, to vault/resource_database_secret_backend_connection_test.go?

@ghost ghost added the size/L label Sep 23, 2018
@commarla
Copy link
Author

@tyrannosaurus-becks Hi, thanks for the review. I've just added the tests.

Copy link
Contributor

@tyrannosaurus-becks tyrannosaurus-becks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Much appreciated!

@tyrannosaurus-becks tyrannosaurus-becks merged commit 580ab55 into hashicorp:master Sep 24, 2018
dandandy pushed a commit to dandandy/terraform-provider-vault that referenced this pull request Jun 17, 2021
add RDS, Aurora and legacy to MySQL backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants