Lambda deploy by SAM fails: `An error occurred (ResourceConflictException) ... The operation cannot be performed at this time. An update is in progress`.
IntermediateTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer
Likely causes → Concurrent update to the same function.
Diagnose → aws lambda get-function --function-name X --query Configuration.LastUpdateStatus.
Fix → Wait with aws lambda wait function-updated, serialize deploys.
Prevent → Concurrency control on deploy workflows.
More on Deployment, Kubernetes and GitOps Failures
`kubectl rollout status` hangs: `Waiting for deployment "app" rollout to finish: 1 old replicas are pending termination...`AdvancedPods in `CrashLoopBackOff` right after deploy.Beginner`ImagePullBackOff` with `manifest for registry/app:1.4.2 not found`.BeginnerHelm: `Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress`.AdvancedHelm: `Error: rendered manifests contain a resource that already exists. Unable to continue with install`.IntermediateArgo CD app stuck `Progressing` forever.Intermediate