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

Use set connection_url when available instead of value read for API response #217

Merged
merged 1 commit into from
Nov 7, 2018
Merged

Use set connection_url when available instead of value read for API response #217

merged 1 commit into from
Nov 7, 2018

Conversation

coryflucas
Copy link
Contributor

@coryflucas coryflucas commented Oct 19, 2018

Fixes #215. The value in the API response will be masked if it contains credentials. This leads to the resource always appears to be out of sync.

Fixes the following acceptance tests:

  • TestAccDatabaseSecretBackendConnection_import
  • TestAccDatabaseSecretBackendConnection_postgresql
  • TestAccDatabaseSecretBackendRole_basic

Note: TestAccDatabaseSecretBackendRole_import still fails, but not for connect_url mismatch anymore. I didn't have a chance to dig into the issues causing the current failures.

…esponse

The value in the API response will be masked if it contains credentials. This leads to the resource always appears to be out of sync
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.

@coryflucas thank you! I appreciate your contribution!

@tyrannosaurus-becks tyrannosaurus-becks merged commit 6653db7 into hashicorp:master Nov 7, 2018
@coryflucas coryflucas deleted the gh-215/db_secret_backed_conn_connection_url branch November 7, 2018 17:18
dandandy pushed a commit to dandandy/terraform-provider-vault that referenced this pull request Jun 17, 2021
…ecret_backed_conn_connection_url

Use set connection_url when available instead of value read for API response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants