-
Notifications
You must be signed in to change notification settings - Fork 25
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
style(cdk): rename lifecycle event cdk-cleanup #1092
Conversation
The rename itself is fine. This is the first time I'm looking at the lifecycle facility. So the rest of my comments aren't really related to this PR exactly. I'd prefer to see these things grouped under a single command i.e instead of running Of more concern is that if The simplest thing to do would be to run I'd also suggest the manifest indicate whether or not cdk-init/cdk-remove is supported. For that matter there seems to be some overlap between breadcrumbs and cdk-init. |
And maybe you've already implemented it, but without a way to do I know about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
thank you for the docs on this! awesome sauce
As a Lacework CDK developer, I need a way to run cleanup event for my component, So that I can remove any file, cache, libraries, etc. during component removal. **Description** When installing new CDK components, users use the command `lacework component install <component>` which runs the lifecycle event `cdk-init`, this event helps components to deploy any necessary file, cache, config, libraries, etc. during installation. When users want to uninstall the component, we should have a cleanup event to remove anything deployed. Jira: https://lacework.atlassian.net/browse/GROW-1081 Signed-off-by: Salim Afiune Maya <[email protected]>
ba23fe7
to
5861bfb
Compare
5861bfb
to
897fb70
Compare
@slshen Thank you for your feedback. My take aways from your comments are:
I am going to merge this PR and work on some of this suggestions on further PRs, This PR will help devs have the events already defined. |
User Story
As a Lacework CDK developer,
I need a way to run a cleanup event for when my component is being uninstalled,
So that I can remove any file, cache, libraries, etc. before the component is removed.
Summary
When installing new CDK components, users use the command
lacework component install <component>
which runs the lifecycle eventcdk-init
, this event helps components to deploy any necessary file, cache, config, libraries, etc. during installation. When users want to uninstall the component, we should have a cleanup event to remove anything deployed.Impact
There are no components that implement this lifecycle so there should not be any impact.
Issue
Jira: https://lacework.atlassian.net/browse/GROW-1081
Documentation: https://lacework.atlassian.net/l/cp/u18EHxx1
Signed-off-by: Salim Afiune Maya [email protected]