Skip to content

When the limit is hit on AWS Lambda, the deployment fail but not reverted #159

@zhaoyi0113

Description

@zhaoyi0113

(Thanks for reporting an issue! Please, then fill out the blanks below.)

What are the steps to reproduce this issue?

  1. Deploy a stack includes many lambdas which will hit AWSLambda limit

What happens?

I got below error when the limit is hit:

The deployment failed because the number of requests by the IAM role arn:aws:iam::xxxxx:role/xxxxx-CodeDeployServiceRole-DVFBOT0Z2YG1 exceeded the request limit for AWSLambda. Avoid retrying API requests at a high rate.

The deployment failed but it doesn't revert the whole stack update. The stack status is UPDATE_ROLLBACK_COMPLETE. The lambda will be created with a new version but the alias is on the old version.

What were you expecting to happen?

If there is any failure happens during deployment, it should revert the stack.

Any logs, error output, etc?

(If it’s long, please paste to https://pastebin.com/ and insert the link here.)

Any other comments?

What versions of software are you using?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions