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

Email update fail deployment #98

@flochaz

Description

@flochaz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions