Skip to content

Feature/allow vault resource to update - #11776

Merged
apparentlymart merged 3 commits into
hashicorp:masterfrom
gerr1t:feature/allow_vault_resource_to_update
Apr 17, 2017
Merged

Feature/allow vault resource to update#11776
apparentlymart merged 3 commits into
hashicorp:masterfrom
gerr1t:feature/allow_vault_resource_to_update

Conversation

@gerr1t

@gerr1t gerr1t commented Feb 8, 2017

Copy link
Copy Markdown
Contributor

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

g4rviel commented Feb 8, 2017

Copy link
Copy Markdown

+1

2 similar comments
@geogdog

geogdog commented Feb 8, 2017

Copy link
Copy Markdown

+1

@dsterz

dsterz commented Feb 9, 2017

Copy link
Copy Markdown

+1

@gerr1t

gerr1t commented Mar 10, 2017

Copy link
Copy Markdown
Contributor Author

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

@gerr1t

gerr1t commented Apr 4, 2017

Copy link
Copy Markdown
Contributor Author

@apparentlymart , any update?

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

rojaro commented Apr 7, 2017

Copy link
Copy Markdown

+1

@apparentlymart

Copy link
Copy Markdown
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

gerr1t commented Apr 17, 2017

Copy link
Copy Markdown
Contributor Author

Thanks @apparentlymart !

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

ghost commented Apr 13, 2020

Copy link
Copy Markdown

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