Closed volkanunsal closed 9 years ago
Sorry for the silly question but are you uploading from an EC2 instance?
No, I was testing from my own computer.
The production error was happening on Heroku.
You would need to own the particular EC2 instance to use IAM in that way (automatic authorisation to other AWS services).
I am using IAM to restrict a Dragonfly-specific AWS user to a specific S3 bucket - :access_key_id
and :secret_access_key
are still required to authorise the user.
Then we need to update the README correct? It states this:
:use_iam_profile # boolean - if true, no need for access_key_id or secret_access_key
I have been trying to configure this gem with IAM profiles. As per instructions in the README, I have set up my
dragonfly.rb
like so:(Removed the access key and the secret.)
But in the production, I get the following error:
Am I doing this right?