Tim-B / grunt-aws-lambda

A grunt plugin to assist in developing functions for AWS Lambda.
MIT License
247 stars 100 forks source link

deployment issue with arn and missing region option #113

Open wiulma opened 5 years ago

wiulma commented 5 years ago

Hi! We used lambda_deploy task but it seems it can't read region from ARN:

Warning: Unable to find lambda function arn:aws:lambda:<region>:<code>:function:<name>, verify the lambda function name and AWS region are correct. Use --force to continue.

When region is added to lambda_deploy options:

lambda_deploy: { default: { arn: 'arn:aws:lambda:<region>:<code>:function:<name>', options: { region: '<region>' } }, },

it works again.