-
Notifications
You must be signed in to change notification settings - Fork 12
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 Lifecycle Hooks for Opening and Closing Handles During Configuration and Shutdown #261
Comments
I'm labeling as
awaiting-upstream
|
@iwahbe Wasn't sure what you meant by this. The need is to have a |
We would need a change in the gRPC protocol so that the provider can be told "please cleanup and exit gracefully". I see two options here:
I would advocate for (2), since it keeps a smaller API surface area for provider authors. This SDK already assumes (2b). |
When I was answering #261 (comment), I was looking at our implementation of `Cancel`. I noticed there wasn't a test for this edge case, and added one.
When I was answering #261 (comment), I was looking at our implementation of `Cancel`. I noticed there wasn't a test for this edge case, and added one.
When I was answering #261 (comment), I was looking at our implementation of `Cancel`. I noticed there wasn't a test for this edge case, and added one.
Hello!
Issue details
It would be beneficial to execute a hook that opens a handle during configuration and closes the handle during shutdown. This would be particularly useful for providers that require a sync or commit action upon closure.
Affected area/feature
Related: pulumi/pulumi#9780
The text was updated successfully, but these errors were encountered: