Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Email update fail deployment #98

Open
flochaz opened this issue Apr 14, 2022 · 0 comments
Open

Email update fail deployment #98

flochaz opened this issue Apr 14, 2022 · 0 comments

Comments

@flochaz
Copy link
Contributor

flochaz commented Apr 14, 2022

Updating email make next deployment fail which might be fine because we don't really support email updates but error should be more explicit:

user function response: { “StatusCode”: 200, “ExecutedVersion”: “$LATEST”, “Payload”: “null” }
submit response to cloudformation { “Status”: “FAILED”, “Reason”: “TypeError: Cannot read property ‘IsComplete’ of null\n at isComplete

Source code to be udapted to manage onUpdate case and more obvious failure
https://github.com/awslabs/aws-bootstrap-kit/blob/main/source/aws-bootstrap-kit/lib/validate-email-handler/index.ts#L31

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant