I'm using awscurl to bulk load data from s3 into neptune:
I've done the following:
- Ensure the ARN has s3 full access
- Uploaded gremlin csv sample data to existing bucket
The error I get is:
Couldn't find the aws credential for iam_role_arn: arn:aws:iam::1111111:role/NeptuneAdmin
What is the best way to ensure I have this credential? I'm executing this from local.
Sample Query
awscurl -X POST \ ─╯
-H 'Content-Type: application/json' \
https://endpoint.us-west-2.neptune.amazonaws.com:8182/loader -d '
{
"source" : "s3://tf-bulk-load-test/vertex.txt",
"format" : "csv",
"iamRoleArn" : "arn:aws:iam::1111111111:role/NeptuneAdmin",
"region" : "us-west-2",
"failOnError" : "FALSE",
"parallelism" : "MEDIUM",
"updateSingleCardinalityProperties" : "FALSE",
"queueRequest" : "TRUE",
"dependencies" : []
}' \
--header 'host: endpoint.us-west-2.neptune.amazonaws.com' \
--service neptune-db