retail-demo-store icon indicating copy to clipboard operation
retail-demo-store copied to clipboard

Fix Personalize delete edge cases

Open james-jory opened this issue 1 year ago • 0 comments

Issue #, if available:

Closes #527

Description of changes:

  • Added INACTIVE to list of status values that are safe to delete for recommender resource type. Note: this is unique to recommenders since they can be "stopped".
  • Added call to describe dataset group resource type before attempting delete in case it's already being deleted.

Description of testing performed to validate your changes (required if pull request includes CloudFormation or source code changes):

  • Tested changes by deleting Retail Demo Store stack with Personalize resources provisioned.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

james-jory avatar Dec 18 '23 23:12 james-jory