Issue with deployment
See original GitHub issueHi,
I have problems with deployment. The grunt deploy
task is keep getting 404 and shows:
Running "lambda_package:default" (lambda_package) task
css-processor@1.0.0
Created package at ./dist/css-processor_1-0-0_2016-2-21-22-58-51.zip
Running "lambda_deploy:default" (lambda_deploy) task
Warning: Unable to find lambda function arn:aws:lambda:us-west-2:XXX:function:XX-css-processor, verify the lambda function name and AWS region are correct. Use --force to continue.
Aborted due to warnings.
I’m able to invoke the same function with aws-cli:
aws lambda invoke --function-name XXX-css-processor test
{
"StatusCode": 200
}
I’m running
$ aws --version
aws-cli/1.10.14 Python/2.7.10 Darwin/14.5.0 botocore/1.4.5
Package.json
"devDependencies": {
"grunt": "^0.4.5",
"grunt-aws-lambda": "^0.12.0"
}
Gruntfile.js
var grunt = require('grunt');
grunt.loadNpmTasks('grunt-aws-lambda');
grunt.initConfig({
lambda_invoke: {
default: {
}
},
lambda_deploy: {
options: {
enableVersioning: true
},
default: {
arn: 'arn:aws:lambda:us-west-2:XXX:function:XXX-css-processor'
}
},
lambda_package: {
default: {
}
},
});
grunt.registerTask('deploy', ['lambda_package:default', 'lambda_deploy:default']);
Am I doing something wrong? I have used this library before and never head problems with this. Do you see there something wrong? I’m sure that the Lambda function is working and I’m able to test it.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
7 Software Deployment Challenges (And How to Address ...
Data Classification and Management · Integration Challenges during Software Deployment · Poor Software Deployment Process Planning · Failing to ...
Read more >Troubleshooting deployment - IBM
When you are having problems deploying an application, perform some basic diagnostics and verify your system configuration to solve the ...
Read more >How to avoid the top 5 manual Deployment Failures by ...
How to avoid the top 5 manual Deployment Failures by automation · Human Error · Lack of Communication and Approval · Deployment Break...
Read more >Deployment vs runtime issues · projectkudu/kudu Wiki - GitHub
A deployment issue is an issue that causes the wrong set of files to get deployed to your site folder (typically d:\home\site\wwwroot ),...
Read more >Troubleshooting common deployment issues • Cloud 66 Rails ...
We've listed the most common causes of deployment problems below. If your issue isn't listed here, please reach out to support and we...
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
@toshke specify the
region
in thetask
:Could you see what happens if you change the
lambda_deploy
section to the following? (I was seeing this as well and just just opened a PR about it)