grunt-aws-lambda icon indicating copy to clipboard operation
grunt-aws-lambda copied to clipboard

Call AWS.config.update after parsing region

Open sonya opened this issue 8 years ago • 4 comments

The README suggests that the options.region parameter is not required when specifying an arn for the lambda_deploy task. However, I was finding this not to be the case, and it looked like what was happening was the region was being set before it was parsed from the arn. This PR attempts to fix this.

sonya avatar Mar 22 '16 15:03 sonya

My apologies for the delay in replying to this. Would it be possible to add unit tests to demonstrate this fixes the issue? Otherwise I might break it again in future ;)

Tim-B avatar May 31 '16 04:05 Tim-B

Thanks for looking at this. I added a unit test which indeed fails if the previous commit is reverted.

sonya avatar Jun 06 '16 22:06 sonya

@Tim-B how about merging this? I spent quite some time today trying to figure out why the tooling thinks my lambda doesn't exist even though it did exists :)

rnowosielski avatar Feb 28 '17 20:02 rnowosielski

@Tim-B Any possible update for the above?

mahirk avatar Jan 03 '19 00:01 mahirk