pwrdrvr/microapps-core

Deployer - Delete in Parent Account Fails

huntharo opened this issue · 0 comments

Motivations

  • Deleting apps from child accounts fails
  • The child account deployer proxies the delete to the parent account
  • The parent account tries to GetAlias on the Lambda, which doesn't exist in the parent account

To-Do

  • Split Delete into Child Account portion and Parent Account portion
  • Child Account should cleanup the Alias
  • Parent Account should remove from DB, cleanup API Gateway, and cleanup S3
  • Can be handled with a simple boolean flag in the request
  • Add test during pipeline of delete of app version from child account
because no resource-based policy allows the lambda:GetAlias action