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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

add flag for all version deletion #802

Closed
wants to merge 3 commits into from

Conversation

Lucretius
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 馃憤 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #760

Release note for CHANGELOG:

Add `delete_all_versions` flag to `vault_generic_secret` resource to allow Terraform to delete all versions of a kv-v2 secret so that the entire secret is removed from Vault.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

@briananstett
Copy link

@Lucretius any update on this?

@Lucretius
Copy link
Contributor Author

@Lucretius any update on this?

I am pretty sure the only test that failed for this was a flaky DB related test unrelated to the added functionality so I think it just needs approval to get merged in.

@briananstett
Copy link

@kalafut would it be possible to get this merged for the next release?

@catsby catsby added this to the vNext milestone Sep 18, 2020
@briananstett
Copy link

@catsby Any update on this? We really need this feature. We'd really would like to start using Vualt KV v2 but don't want to have oprhaned versions.

@rcreasey
Copy link

+1 for this feature

@ejtbrown
Copy link

+1 for this; would love to see it in place

@bobthebuilderberlin
Copy link

+1, we would also need this.

@benashz benashz modified the milestones: vNext, 3.1.0 Dec 7, 2021
@benashz
Copy link
Contributor

benashz commented Dec 14, 2021

Moving this work to #1254.

Thank you for your contribution to HashiCorp!

@benashz benashz closed this Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deletion of generic secret resource does not delete previous versions
7 participants