Skip to content

Commit

Permalink
[DOCS] Fix S3 bucket names in S3 repo plugin docs (#66521) (#66529)
Browse files Browse the repository at this point in the history
Co-authored-by: Inbar Shimshon <[email protected]>
  • Loading branch information
jrodewig and InbarShimshon authored Dec 17, 2020
1 parent c17b409 commit 499f4a0
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions docs/plugins/repository-s3.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PUT _snapshot/my_s3_repository
{
"type": "s3",
"settings": {
"bucket": "my_bucket"
"bucket": "my-bucket"
}
}
----
Expand All @@ -54,8 +54,8 @@ PUT _snapshot/my_s3_repository
{
"type": "s3",
"settings": {
"bucket": "my_bucket",
"client": "my_alternate_client"
"bucket": "my-bucket",
"client": "my-alternate-client"
}
}
----
Expand Down Expand Up @@ -247,8 +247,8 @@ PUT _snapshot/my_s3_repository
{
"type": "s3",
"settings": {
"bucket": "my_bucket_name",
"another_setting": "setting_value"
"bucket": "my-bucket",
"another_setting": "setting-value"
}
}
----
Expand All @@ -257,8 +257,12 @@ PUT _snapshot/my_s3_repository
The following settings are supported:

`bucket`::

The name of the bucket to be used for snapshots. (Mandatory)
(Required)
Name of the S3 bucket to use for snapshots.
+
The bucket name must adhere to Amazon's
https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules[S3
bucket naming rules].

`client`::

Expand Down Expand Up @@ -346,8 +350,8 @@ PUT _snapshot/my_s3_repository
{
"type": "s3",
"settings": {
"client": "my_client_name",
"bucket": "my_bucket_name",
"client": "my-client",
"bucket": "my-bucket",
"endpoint": "my.s3.endpoint"
}
}
Expand Down

0 comments on commit 499f4a0

Please sign in to comment.