I'm using serverless to create a lambda function using the nodejs template.
- To connect to my Elasticache Redis I setup a VPC and added the Security Group and Subnet Ids, as well as the region to my lambda
serverless.yml
. - I deployed it and confirmed I could set and get a key from Redis.
When I try to serverless invoke local -f functionName
, it always times out, so I have to deploy it to test it.
Is it possible to test this out locally with serverless
?
via Claudiordgz
No comments:
Post a Comment