I am using the serverless framework which lets you invoke Lambda functions locally.
I have now made a Dax cluster which requires a VPC and granting permissions to the security group to use the service. I have a Lambda function configured to use the VPC and that works great now.
But when I try to invoke locally it does not work:
amazondax.DaxError.DaxClientError: An error occurred (NoRouteException) when calling the operation: Failed to configure cluster endpoints from {daxarn}
I am assuming it's because my local invocation is not done from the VPC. If I am right, is there a way to do this?
Thank you very much in advance for any pointers or any help at all!