-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Deploy function not update function code in AWS Lambda but just deploy updates #4748
Description
This is a Bug Report
Description
if I try to deploy a single function ( only one function is giving me problem) the deploy process is finished with success but no event is generated in cloud Formation for the service and the code for the function is not updated. But if I deploy the whole service with serverless deploy the function is deployed without a problem.
I think only functions that are too big for inline change directly in aws console have this problem. Not sure, this is the second function that I have problem with and the first was too big to see the code in aws console too.
For bug reports:
-
What went wrong?
serverless deploy function return success and didn't update the code but serverless deploy updates the code -
What did you expect should have happened?
the code to be updated after deploy function funish -
What was the config you used?
serverless version 1.24.1
node.js 6.10 -
What stacktrace or error message from your provider did you see?
No erros. Serverless on debug mode don't show any errors. and there is no event at cloud formation ( so no errors there too )
Additional Data
-
Serverless Framework Version you're using:
serverless version 1.24.1 -
Operating System:
ubuntu 16.04 -
Stack Trace:
Serverless: Load command run
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 login
Serverless: Load command logout
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 emit
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command webpack
Serverless: Load command webpack:invoke
Serverless: Load command webpack:watch
Serverless: Load command webpack:serve
Serverless: WARNING: Plugin ServerlessWebpack uses deprecated hook before:deploy:createDeploymentArtifacts,
use package:createDeploymentArtifacts hook instead
Serverless: WARNING: Plugin ServerlessWebpack uses deprecated hook after:deploy:createDeploymentArtifacts,
use package:createDeploymentArtifacts hook instead
Serverless: Load command prune
Serverless: Load command offline
Serverless: Load command offline:start
Serverless: Invoke deploy:function
Serverless: Bundling with Webpack...
<<webpack output>>
Serverless: Invoke package:function
Serverless: Packaging function: getResource...
Serverless: Uploading function: getResource (661.61 KB)...
Serverless: Successfully deployed function: getResource
Serverless: Successfully updated function: getResource
Serverless: Invoke aws:common:cleanupTempDir
- Provider Error messages:
No logs at aws. The deploy process to AWS probably was never started.