Skip to content

Missing Credentials in Config #356

@VGoose

Description

@VGoose

Getting the error below. My bucket is public so I'm not sure what's going on - am I missing something obvious? My plugin is a copy and paste of the README.

"gatsby-source-s3-image" threw an error while running the sourceNodes lifecycle:

Missing credentials in config
plugins: [
    {
      resolve: 'gatsby-source-s3-image',
      options: {
        bucketName: 'my.bucket.name',
        protocol: 'http', // [optional] Default to `https`.
      },
    },
    ...
]
    "Version": "2008-10-17",
    "Statement": [
        {
            "Sid": "AddPublicReadPermissions",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::my.bucket.name/*"
        }
    ]
}```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions