-
Notifications
You must be signed in to change notification settings - Fork 269
Closed
Labels
service/lambdaIndicates issues or PRs that are related to lambda-controller.Indicates issues or PRs that are related to lambda-controller.
Description
Describe the Bug
Lambda function gets stuck in the Pending
state upon creation. Once in this state, the function cannot be updated or deleted via the ACK controller.
The only workaround is to manually remove the finalizers.lambda.services.k8s.aws/Function
entry and then delete the resource manually.
Steps to Reproduce
-
Create a Lambda
Function
resource using the ACK controller. -
The resource enters the following status:
conditions: - message: function in 'Pending' state, cannot be modified or deleted status: "True" type: ACK.Recoverable - lastTransitionTime: "2025-04-20T12:53:34Z" message: Unable to determine if desired resource state matches latest observed state reason: function in 'Pending' state, cannot be modified or deleted status: Unknown type: ACK.ResourceSynced
-
Attempts to update or delete the function using the ACK controller result in no action due to the function being stuck in a
Pending
state. -
To resolve, you must:
- Remove the
finalizers.lambda.services.k8s.aws/Function
finalizer from the resource. - Manually delete the Kubernetes resource.
- Remove the
Expected Outcome
The Lambda function should either:
- Successfully transition from
Pending
toActive
, or - Fail with a clear error and allow cleanup or retry via normal ACK resource management (without requiring manual intervention).
Environment
- Kubernetes Version: [Please specify]
- EKS: Yes, version 1.31
- Targeted AWS Service: Lambda
Metadata
Metadata
Assignees
Labels
service/lambdaIndicates issues or PRs that are related to lambda-controller.Indicates issues or PRs that are related to lambda-controller.