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

Add delete_in argument #21

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Add delete_in argument #21

merged 2 commits into from
Apr 5, 2024

Conversation

terranisu
Copy link
Member

@terranisu terranisu commented Apr 4, 2024

Description

By default Secrets Manager uses a 30 day recovery window to wait before permanently deleting the secret. In many cases, there is no need to wait for 30 days to delete a secret.

The PR exposes the delete_in argument to configure the recovery window. The number of days must be between 7 and 30. If the value is set to 0 it will trigger force deletion without recovery.

Testing considerations

The change was tested in one of our root modules.

Checklist

  • Prefixed the PR title with the JIRA ticket code
  • Performed simple, atomic commits with good commit messages
  • Verified that the commit history is linear and commits are squashed as necessary
  • Thoroughly tested the changes in development and/or staging
  • Updated the README.md as necessary

Related links

@terranisu terranisu self-assigned this Apr 4, 2024
@terranisu terranisu requested a review from helenff April 4, 2024 13:41
@terranisu terranisu force-pushed the vadimka/support-deletion-period branch from 65317c4 to af84bac Compare April 4, 2024 13:42
@terranisu terranisu force-pushed the vadimka/support-deletion-period branch from af84bac to 483985a Compare April 4, 2024 13:53
@terranisu terranisu marked this pull request as ready for review April 4, 2024 16:13
@terranisu terranisu requested a review from a team as a code owner April 4, 2024 16:13
@terranisu terranisu changed the title Add the delete_in argument Add delete_in argument Apr 4, 2024
Copy link
Contributor

@fotos fotos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM ♻️ 🚀

@terranisu terranisu merged commit 0564181 into main Apr 5, 2024
13 checks passed
@terranisu terranisu deleted the vadimka/support-deletion-period branch April 5, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants