$ serverless deploy --verbose --aws-profile default --function PlanetOpsFe --stage prod
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Invoke deploy
Serverless: Invoke deploy:function
Serverless: [AWS lambda 200 0.265s 0 retries] getFunction({ FunctionName: 'planet-ops-fe-prod' })
Serverless: Invoke package:function
Serverless: Packaging function: PlanetOpsFe...
Serverless: Excluding development dependencies...
Serverless: Uploading function: PlanetOpsFe (12.31 MB)...
Serverless: [AWS lambda 200 1.343s 0 retries] updateFunctionCode({ FunctionName: 'planet-ops-fe-prod',
ZipFile: '***SensitiveInformation***' })
Serverless: Successfully deployed function: PlanetOpsFe
Serverless: [AWS lambda 409 0.138s 0 retries] updateFunctionConfiguration({ FunctionName: 'planet-ops-fe-prod',
Handler: 'server/built/server.handler',
MemorySize: 256,
Timeout: 20 })
Serverless Error ---------------------------------------
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
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