Skip to content

Draft initial documentation on resource hooks #15463

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lunaris
Copy link
Contributor

@lunaris lunaris commented Jul 2, 2025

TODO:

@pulumi-bot
Copy link
Collaborator

| After update | ✓ | ✓ | ✓ | ✓ |
| Before delete | ✓ | | ✓ | |
| After delete | ✓ | | ✓ | |

Copy link
Contributor

Choose a reason for hiding this comment

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

Quick note before I forget: we should mention that hooks can return an error. For before hooks this causes the action to fail. After hooks don't cause a failure (the action already ran!), but do log a warning.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good shout. I've taken a stab at it, though the table extension isn't the prettiest. Thoughts?
image

@lunaris lunaris force-pushed the wjones/hooks-docs branch from c815115 to bee3809 Compare July 2, 2025 16:23
@lunaris lunaris deployed to testing July 2, 2025 16:23 — with GitHub Actions Active
@pulumi-bot
Copy link
Collaborator

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