-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reopening #1872 chalice deploy command failing with ResourceConflictException UpdateFunctionConfiguration exception #1873
Comments
Hello Team, Can anybody please help me on this issue ? |
we got one workaround from AWS support to update the lambda description and add "aws:states:opt-out" as mentioned here This workaround worked as of now as in first attempt our lambda got created however next time we ran our jenkins pipelines it was failing. Also @jamesls can you please check once here Line 913 in 61f4345
if this getting evaluated ? I think we need to check like " inside ' for condition |
I'm currently looking into this, but just wanted to quickly comment that I'd double check you are using the latest version 1.26.4. I noticed that when I compared the line numbers in your stack trace to the version of Also, if you are using the latest versions of Chalice, you would be seeing a different error if updating the Lambda function fails. Here's the relevant code snippet: Lines 913 to 921 in 65557cc
This means that we're waiting until the function is active before calling the the In order for this error to happen we'd have to make it past these lines of code, which would mean we saw the |
@jamesls I have added logging to check the chalice version and found that jenkins instance while chalice deploy command using older chalice version 1.22.1. This is strange issue in our case as all our requirements files have explicitly using chalice .26.4 version. We have now explicitly doing pip install before chalice deploy again with latest version and I can confirm this issue is solved as of now. Meanwhile our devops team checking why older version is present in jenkins instances. |
Awesome, glad you were able to get everything working for you! |
Reopening previous issue again
#1872
@jamesls
This is blocking for me. I am already using the latest chalice version 1.26.4 , still getting this issue. I saw similar kind of issue for claudiajs.
claudiajs/claudia#226
Also checked , https://aws.amazon.com/blogs/compute/coming-soon-expansion-of-aws-lambda-states-to-all-functions/
one of the options suggested is to use "aws:states:opt-out" in description but in case of chalice it internally creating lambda and then tries to update. How can I pass description in chalice deploy command.
We are in kind of similar situation of claudiajs/claudia#226 where we deployed the stack on one environment and next deployment onwards its continuously failing.
also to confirm , I had discussion with AWS premium support , they suggested to check with you guys on this.
The text was updated successfully, but these errors were encountered: