Skip to content

Lambda Function Code.FromBucket() does not update "Code Entry Type" in AWS console #6176

@sacag

Description

@sacag

Description

When CDK stack with Lambda function with property Code.FromBucket(..) is used, then the lambda when deployed for the first time, works fine. When an update to lambda is made and then the stack deploy is not updating the deployed lambda in console. It has the old code in AWS console. S3 bucket does have the latest changes. Reason being the "Code entry type" is not pointing to S3 for the lambda in AWS console?

Reproduction Steps

Error Log

Environment

  • CLI Version :
  • Framework Version:
  • OS :
  • Language :

Other


This is 🐛 Bug Report

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-lambdaRelated to AWS LambdabugThis issue is a bug.documentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortp1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions