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

Used ScheduledPurgeDate for both KV, MHSM #6739

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

heaths
Copy link
Member

@heaths heaths commented Aug 9, 2023

The previous property was calculated so didn't exist from the REST-based
call. Also updated the api-version to the latest stable control plane
version.

The previous property was calculated so didn't exist from the REST-based
call. Also updated the api-version to the latest stable control plane
version.
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Copy link
Member

@mikeharder mikeharder left a comment

Choose a reason for hiding this comment

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

Before merging this PR, I'd like to try running the cleanup pipeline using this PR.

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2991805&view=results

@mikeharder
Copy link
Member

Fix prevents script from failing, but from the logs it appears we still need to do more to actually delete/purge the resources.

@heaths
Copy link
Member Author

heaths commented Aug 9, 2023

Fix prevents script from failing, but from the logs it appears we still need to do more to actually delete/purge the resources.

The script runs on a schedule as well, so it will keep trying and when the purge date expires, they will finally get cleaned up on the next run. That's how it was designed and has been working. What's concerning is how many vaults and HSMs have purge protection enabled. It should almost never be necessary. I started a thread internally to address going forward.

@mikeharder
Copy link
Member

@heaths: Can you merge this today to prevent the pipeline failures?

@heaths heaths merged commit 2e58b08 into Azure:main Aug 10, 2023
15 checks passed
@heaths
Copy link
Member Author

heaths commented Aug 10, 2023

I thought it was supposed to merge automatically once the final pipeline was approved.

@heaths heaths deleted the fix-resource-helpers branch August 10, 2023 22:47
dgetu pushed a commit to Azure/azure-sdk-for-js that referenced this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants