Closed hmgibson23 closed 8 years ago
It might work if you just leave the credentials out of the map. It does on Elastic Beanstalk.
@paulheideman got it right. Just leave them out and the client will find the creds via the ec2 role you have assigned.
@paulheideman does this mean a map like {:access-key "" :secret-key ""} or an empty map {} ?
I have a map with just the endpoint specified, but an empty map should work too.
{:endpoint (System/getProperty "DYNAMODB_ENDPOINT" "http://localhost:8000")}
Seems a little annoying to have to specify credentials on an EC2 instance.