Currently attempting to connect to Neptune via NodeJS Lambda.
The code works to the point of getUrlAndHeaders
in both libraries and I am getting response back and a connection is created, however, on attempt to insert/select, I get the 403.
- There is a policy attached to the execution role, either "neptune-db:*" or "neptune-db:connect", but neither work.
- All the same subnets are being used as a temporary measure
- The docs mention Neptune lives in EC2 instances, but not seeing any reference to them
- Confirmed that there are policies attached to said execution role for ec2: CreateNetworkInterface,DescribeNetworkInterface,DeleteNetworkInterface
What am I missing? I am working on testing other things in the process, but not gaining any traction.
Documentation:
AWS Neptune - IAM Auth Policy
AWS Neptune - Temp Credentials
Code being used/modeled after:
AWS Lambda Examples
gremlin-aws-sigv4
In Progress:
AWSLambdaVPCAccessExecutionRole - SF
@aws-sdk/client-neptune - NPM