-
Notifications
You must be signed in to change notification settings - Fork 549
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 tls_certificate_key and tls_ca to mysql #1098
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch! Could you add a test for a mysql config with the new tls parameters in resource_database_secret_backend_connection_test.go? It's probably not one we can run in CI easily, so you'll want to check for some extra env variables at the top (like MYSQL_CA, MYSQL_CERTIFICATE_KEY), similar to the mongodb atlas test.
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Hi @tvoran. Thanks for reviewing this. I added the new tls parameters to resource_database_secret_backend_connection_test.go. Let me know if this looks good. |
This reverts commit 60e4973.
@tvoran I added a new testAccDatabaseSecretBackendConnectionConfig_mysql_tls() function, used in a new TestAccDatabaseSecretBackendConnection_mysql_tls() test like you mentioned in your last comment. Can you take a look when you have a moment if everything looks good? |
Bumping this to resolve the feedback 😄 |
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all your work on this!
* add mysql_tls test Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Community Note
Closes #1082
Release note for CHANGELOG:
Output from acceptance testing: