All of a sudden TravisCI fails to deploy some lambda functions (which have been deployed successfully in the past).
running dpl command to deploy doSomeMagic...
Installing deployment dependencies
Installing gem dependencies: aws-sdk-lambda (~> 1.0), rubyzip (~> 1.2.2)
Using Access Key: AK******************
Setting the build environment up for the deployment
Updating existing function doSomeMagic.
Updating code.
The operation cannot be performed at this time. An update is in progress for resource: arn:aws:lambda:<my-region>:123456789:function:doSomeMagic
Script failed with status #<struct Dpl::Provider::Status provider=Dpl::Providers::Script, status=:stable, info=nil>
failed to deploy
I suspect it could be related to this AWS Lambda state change:
Which is a bit more flexible in the param sequences, I’ve shipped this issue to the internal team to see if it’s an issue that we need to investigate further (including myself.)