-
Notifications
You must be signed in to change notification settings - Fork 555
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
Mr miles ca cert #910
Mr miles ca cert #910
Conversation
Additional options to configure to match the cli/api for the consul backend. Important for TLS configuration.
The check failure is because the PR description was longer than jira's max issue size. It is not related to the PR code. |
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.
The other thing I'd suggest is to test those new parameters a bit in TestConsulSecretBackend(). Even though these parameters don't come back from vault, the terraform state can be checked in tests.
Pull from master
Good idea, I added some tests for the extra properties |
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.
Looks good, thanks!
* Add support for ca_cert, client_cert, client_key Additional options to configure to match the cli/api for the consul backend. Important for TLS configuration. * Update resource_consul_secret_backend.go * Missing quote * Adding commas * Set optional and default value * Update docs * Change detection * optional param * Don't compare ca_cert as vault does not return it Co-authored-by: Theron Voran <tvoran@users.noreply.github.com> * Adding state tests for additional fields * Add comma * remove blank attributes * Reinstate blank properties * Back in business - check attribute does note exist Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Community Note
Closes #901
Release note for CHANGELOG:
Output from acceptance testing:
(running on windows [shudder] so here's the circleci output)