If you're following Hartl's Rails tutorial, you'll need to grant permissions to your AWS user in order to complete the tutorial. Here's how to do that:
First, open the IAM console.
In the navigation pane, choose Users.
Select the user that you want to modify.
Choose the Permissions tab.
Choose Add inline policy.
In the Policy Document section, paste the following policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME"
},
{
"Effect": "Allow",
"Action": "s3😛utObject",
"Resource": "arn:aws: