-
Notifications
You must be signed in to change notification settings - Fork 545
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
Fix wrong response data from gcp_auth_backend_role read request #243
Fix wrong response data from gcp_auth_backend_role read request #243
Conversation
Tests seem to fail as the vault version used in the tests (0.11.1) is before the change which renamed the field in vault. |
Tests pass with Vault v1.0.0-beta2. |
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.
@Phylu thanks for working on this! Should be good to after we handle compatibility issues.
Saw you pushed some code! I noticed there's a test failure that looks related:
|
The latest changes fix the failing acceptance tests. I had to revert the change that I made to the test where I renamed the expected attribute as well. This might be needed to change, later when the tests run with a newer version of vault. |
@Phylu oddly I now get the following error when I try to run that test on this branch:
I think the current master branch of the Terraform Vault Provider may just need to be merged in. |
That is very strange. Might it be an issue if you ran the tests in my repository, as some links to files in the vendor folder might be wrong? I just merged the current master and ran the acceptance tests again and everything seems fine. Let's see what travis says here. If I can do anything more, just let me know. |
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.
@Phylu yes, it did turn out to be an issue with my test environment. Thank you! This is looking fantastic and all tests are passing.
Nice. Thanks! |
Fix wrong response data from gcp_auth_backend_role read request
As of hashicorp/vault-plugin-auth-gcp@438b86d, the
role_type
field has been changed totype
.This pull request should resolve #228.