Skip to content

[Lambda Controller] Lambda Controller can't update inactive functions #2446

@purkhusid

Description

@purkhusid

Describe the bug
When a VPC Lambda function has been idle for a while(days/weeks) it will be marked as inactive. It seems like the ACK Lambda controller does not handle this since it will never end up in a synced state if the lambda it is trying to update is in the inactive state.

Steps to reproduce
This is kind of hard to reproduce since it requires that AWS Lambda puts a function into the inactive state due to being idle for multiple days/weeks.

More information on this can be found here: https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html

Expected outcome
The Lambda should sync like it would in any other state.

Environment

  • Kubernetes version - 1.30.11
  • Using EKS (yes/no), if so version? - v1.30.11-eks-bcf3d70
  • AWS service targeted (S3, RDS, etc.) - Lambda

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.service/lambdaIndicates issues or PRs that are related to lambda-controller.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions