-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Remove reference to repository-s3 plugin creating an S3 bucket #30910
Comments
In doc you linked to I can see
Which part of the doc mentions something else? |
Hi, @dadoonet , "If you want Elasticsearch to create the bucket instead, you can add the permission to create a specific bucket like this:" But seems like ES will not try to create any bucket in any cases. |
Ha right. That's a leftover IMO. We should remove that part. |
Pinging @elastic/es-distributed |
Docs mention that repository-s3 plugin is able to create AWS S3 bucket when it doesn't exist (and appropriate IAM permissions were added).
But it just fails without any validation according to this part of a code:
. SocketAccess.doPrivilegedVoid(() -> { if (client.doesBucketExist(bucket) == false) { throw new IllegalArgumentException("The bucket [" + bucket + "] does not exist. Please create it before " + " creating an s3 snapshot repository backed by it."); } });
Previously cloud-aws plugin was able to create bucket.
Is it expected for repository-s3 plugin?
Is it possible to change documentation accordingly to the plugin behavior or add possibility to create S3 bucket by ES/plugin means?
Thanks!
The text was updated successfully, but these errors were encountered: