You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Issue #, if available:**
aws-controllers-k8s/community#1842
**Description of changes:**
Requeues the function reconciliation if it errors due to an image not existing. It will attempt reconciliation again after 1 minute. This allows for handling common GitOps conditions that may occur, where the function manifest is updated to use a new image URI, but the image hasn't finished pushing yet.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
// If the source image is not available, we get an error like this:
115
+
// "InvalidParameterValueException: Source image 1234567890.dkr.ecr.us-east-2.amazonaws.com/my-lambda:my-tag does not exist. Provide a valid source image."
116
+
// Because this may be recoverable (i.e. the image may be pushed once a build completes),
117
+
// we requeue the function for reconciliation after one minute.
118
+
ifstrings.Contains(err.Error(), "Provide a valid source image.") {
0 commit comments