-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
provider/google/storage: support for bucket CORS policy #12519
Comments
It has a tad different params:
However, this would be superb to have, too, otherwise its manual labour :( |
Just starting out with terraform and first thing I tried to do is not supported 😄 would be really nice to have it. Please consider adding it. // cors-json-file.json
[
{
"origin": ["*"],
"responseHeader": ["Content-Type"],
"method": ["GET", "HEAD"],
"maxAgeSeconds": 3600
}
]
|
Fixed in #14695 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
There is currently no way to set a Google Cloud Storage CORS policy on a bucket.
It is set using the
cors[]
attribute on a Bucket object: https://cloud.google.com/storage/docs/json_api/v1/bucketsImplementation could be similar to the AWS S3 Bucket resource:
The text was updated successfully, but these errors were encountered: