Unable to deploy
See original GitHub issueUnable to deploy to lambda when I run grunt deploy, getting following error:
Running "lambda_upload" task
Fatal error: Cannot read property 'Configuration' of null
My gruntfile is as follows:
var grunt = require('grunt');
grunt.loadNpmTasks('grunt-aws-lambda');
grunt.initConfig({
lambda_invoke: {
default: {
options: {
file_name: 'index.js'
}
}
},
lambda_deploy: {
default: {
options: {
timeout : 10,
memory: 256
},
arn: 'arn:aws:lambda:us-east-1:XXXXXXXX:function:XXXX'
}
},
lambda_package: {
default: {
}
}
});
grunt.registerTask('deploy', ['lambda_package', 'lambda_deploy']);
I am able to run grunt lambda_package and get no issues. Tried running grunt lambda_deploy on its own, but to no avail.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Unable to deploy to the virtual machine 'XXXX' as the machine ...
After installation the agent runs fine for some time, but then after some time it stays offline and shows up as offline in...
Read more >Unable to deploy (even with no errors in the online validator ...
Hi, We are figuring the same issue we uploaded a questionnaire on the server and received the error message 'unable to deploy'. We...
Read more >Troubleshooting Common Problems with Web Deploy
Web deployment task failed. (Unable to perform the operation ("Create Directory") for the specified directory ("bin"). This can occur if the ...
Read more >Unable to deploy application EAR file using the administrative ...
Application deployment fails when using the administrative console. The administrative console shows the following message.
Read more >Unable to deploy a site when the source organization is on a ...
Some customers may have observed that they see the following error when attempting to Validate/Deploy a change set with Digital Experience ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue
I have the same issue with ‘grunt deploy’. Double checked function name, its correct.