Skip to content

Remove reference to repository-s3 plugin creating an S3 bucket #30910

Closed
@maximshd

Description

@maximshd

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions