Skip to content

UPDATE or ROOLBACK FAILED in cloudFormation #2034

@cedric-r-mycelium

Description

@cedric-r-mycelium

Description:

Since monday my lambda can't be deployed ou rollbacked with the error "CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [...]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version"

I have open ticket at AWS support but the response is bad implementation of cnf-response module https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html

i have try with

  • official serverless V3
  • and now on osls with the same result
  • bref in version 2.4.16

How to reproduce:

the probleme is on S3 custom resource in serverless.yml

 s3:
   existing: true
   forceDeploy: true
   bucket: "mybucket"
   event: s3:ObjectCreated:*
   rules:
      - prefix: photos/original
  

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions