Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 bucket CORS config must be in JSON in new AWS console #510

Open
brucek opened this issue Nov 11, 2020 · 1 comment
Open

S3 bucket CORS config must be in JSON in new AWS console #510

brucek opened this issue Nov 11, 2020 · 1 comment

Comments

@brucek
Copy link

brucek commented Nov 11, 2020

See https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html#how-do-i-enable-cors

In the new S3 console, the CORS configuration must be JSON.

I'm still working through the tutorial but I think it should be:

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "PUT",
            "POST",
            "HEAD",
            "DELETE"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": [],
        "MaxAgeSeconds": 3000
    }
]
@jayair
Copy link
Contributor

jayair commented Nov 13, 2020

Thanks for brining this up! We just fixed it in the guide yesterday!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants