The operation cannot be performed at this time. An update is in progress for resource:

Hello I have a question about serverless: The operation cannot be performed at this time. An update is in progress for resource: arn:aws-cn:lambda:cn-north-1:xxx:function:xxx .how to fix it?

  Serverless Error ---------------------------------------
 
  The operation cannot be performed at this time. An update is in progress for resource: arn:aws-cn:lambda:cn-north-1:xxx:function:xxx
 
Stack Trace --------------------------------------------
 
ServerlessError: The operation cannot be performed at this time. An update is in progress for resource: arn:aws-cn:lambda:cn-north-1:321659100662:function:planet-ops-fe-prod
    at BbPromise.fromCallback.catch.err (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:295:11)
From previous event:
    at persistentRequest (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:277:13)
    at doCall (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:226:9)
    at BbPromise (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:243:14)
From previous event:
    at persistentRequest (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:224:38)
    at Object.request.requestQueue.add [as promiseGenerator] (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:264:49)
    at Queue._dequeue (/usr/local/lib/node_modules/serverless/node_modules/promise-queue/lib/index.js:153:30)
    at /usr/local/lib/node_modules/serverless/node_modules/promise-queue/lib/index.js:109:18
From previous event:
    at Queue.add (/usr/local/lib/node_modules/serverless/node_modules/promise-queue/lib/index.js:94:16)
    at AwsProvider.request (/usr/local/lib/node_modules/serverless/lib/plugins/aws/provider/awsProvider.js:264:39)
    at AwsDeployFunction.callUpdateFunctionConfiguration (/usr/local/lib/node_modules/serverless/lib/plugins/aws/deployFunction/index.js:105:26)
    at AwsDeployFunction.updateFunctionConfiguration (/usr/local/lib/node_modules/serverless/lib/plugins/aws/deployFunction/index.js:214:17)
From previous event:
    at Object.deploy:function:deploy [as hook] (/usr/local/lib/node_modules/serverless/lib/plugins/aws/deployFunction/index.js:41:10)
    at BbPromise.reduce (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:391:55)
From previous event:
    at PluginManager.invoke (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:391:22)
    at PluginManager.spawn (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:409:17)
    at Deploy.BbPromise.bind.then (/usr/local/lib/node_modules/serverless/lib/plugins/deploy/deploy.js:112:50)
From previous event:
    at Object.before:deploy:deploy [as hook] (/usr/local/lib/node_modules/serverless/lib/plugins/deploy/deploy.js:107:10)
    at BbPromise.reduce (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:391:55)
From previous event:
    at PluginManager.invoke (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:391:22)
    at PluginManager.run (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:422:17)
    at variables.populateService.then.then (/usr/local/lib/node_modules/serverless/lib/Serverless.js:111:33)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:120:23)
From previous event:
    at Serverless.run (/usr/local/lib/node_modules/serverless/lib/Serverless.js:98:6)
    at serverless.init.then (/usr/local/lib/node_modules/serverless/bin/serverless:43:28)
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information -----------------------------
     OS:                     linux
     Node Version:           10.15.3
     Serverless Version:     1.36.3

You just have to wait :slight_smile:

Contact AWS if it takes more than a few hours.