Skip to content

Conversation

@patrick-dignifi
Copy link

per https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html
AWS Lambda now prevents the updating of the configuration or code of a lambda while the Lambda is in a pending state.
Updating the configuration puts the lambda in a pending state, thus guaranteeing an error if the user of this action is trying to update both configuration and code at the same time.

Proposed solution:
adding a wait in between updating function configuration and function code if configuration is being updated

@rafistrauss
Copy link

rafistrauss commented Jan 3, 2022

@appleboy any chance we can get this merged & built to unblock appleboy/lambda-action#46?

@patrick-dignifi
Copy link
Author

full disclosure, I'm no GO expert, so there might be a better way to accomplish this change. I just would love to see this change added to support AWS Lambdas better

@rafistrauss
Copy link

@patrick-dignifi Same 😁

@sunsheeppoplar
Copy link

bumping this for visibility!

@mikkixlisa
Copy link

@appleboy Any updates on this?

@appleboy
Copy link
Owner

I will take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants