We attempted to refresh the lambda config without redeploying the functions on serverless@^3.22.0, but we got this kind of error. Regarding the document, it seems the option --update-config is still available. Any idea?
Here’s the error we got while we are running CircleCI. We just update the nodejs version from 12 to 16.
#!/bin/bash -eo pipefail
./node_modules/.bin/serverless deploy --stage prod --update-config
Environment: linux, node 16.15.1, framework 3.22.0 (local), plugin 6.2.2, SDK 4.3.2
Detected unrecognized CLI options: “–update-config”.
Exited with code exit status 1