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

Feature/allow vault resource to update #11776

Merged

Conversation

gerr1t
Copy link
Contributor

@gerr1t gerr1t commented Feb 8, 2017

By default the vault_generic_secret resource is not configured to read back from vault. This means that changes cannot properly be compared. This is done for security reasons (see: Required Vault Capabilities on https://www.terraform.io/docs/providers/vault/r/generic_secret.html), so that a token can be limited to only writing to the vault server.

However, there are reason why you would want to be able to compare and update resources. This change allows this by setting allow_read value to true on the resource.

@g4rviel
Copy link

g4rviel commented Feb 8, 2017

+1

2 similar comments
@geogdog
Copy link

geogdog commented Feb 8, 2017

+1

@dsterz
Copy link

dsterz commented Feb 9, 2017

+1

@gerr1t
Copy link
Contributor Author

gerr1t commented Mar 10, 2017

@apparentlymart , any idea in which version this might be merged? This is actually a feature I am waiting for.

@gerr1t
Copy link
Contributor Author

gerr1t commented Apr 4, 2017

@apparentlymart , any update?

@apparentlymart apparentlymart self-requested a review April 4, 2017 16:13
@rojaro
Copy link

rojaro commented Apr 7, 2017

+1

@apparentlymart
Copy link
Contributor

Hi @gerr1t! Sorry for the silence here.

This looks good to me. Ideally we'd have some acceptance test coverage for having this set both on and off, but it's a bit of a tricky thing to test so I think we can pass on it for right now given the relative simplicity of this additional feature and that the rest of the behavior is already tested.

I just merged this. Thanks!

@apparentlymart apparentlymart merged commit 369c810 into hashicorp:master Apr 17, 2017
@gerr1t
Copy link
Contributor Author

gerr1t commented Apr 17, 2017

Thanks @apparentlymart !

@gerr1t gerr1t deleted the feature/allow_vault_resource_to_update branch April 19, 2017 11:47
@ghost
Copy link

ghost commented Apr 13, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants