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

Custom resource to delete Personalize resources #4

Closed
james-jory opened this issue Apr 14, 2020 · 0 comments · Fixed by #17
Closed

Custom resource to delete Personalize resources #4

james-jory opened this issue Apr 14, 2020 · 0 comments · Fixed by #17
Assignees
Labels
deployment Related to project deployment enhancement New feature or request

Comments

@james-jory
Copy link
Contributor

Since the Personalize resources (schemas, datasets, solutions, campaigns, event tracker) are all created outside of CloudFormation by a notebook or Lambda function, they are not cleaned up automatically when the Retail Demo Store stack is deleted. Although there is a Personalize Cleanup Notebook that can be used to delete these resources, it would be easy to miss or forget to run through this notebook before deleting the stack. Once the stack is deleted, the notebooks are deleted too. In addition, if the user initially deploying the stack chooses to have the Personalize campaigns auto-created post-deployment, it's not apparent that the cleanup notebook should be run. This could leave behind resources that will continue to incur unexpected charges.

To ensure that Personalize resources created as part of the Retail Demo Store deployment are cleaned up when the stack is deleted, a custom resource should be created that deletes these resources.

@james-jory james-jory added enhancement New feature or request deployment Related to project deployment labels Apr 14, 2020
@james-jory james-jory self-assigned this Apr 14, 2020
BastLeblanc referenced this issue in BastLeblanc/retail-demo-store Feb 18, 2022
update readme with instructions
manbearshark added a commit to manbearshark/retail-demo-store that referenced this issue Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Related to project deployment enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant