Skip to content

Commit b8be2c2

Browse files
authored
Update s3 endpoint from us-east-1 to aws_region (#8)
* Change s3 endpoint to include correct value
1 parent 149069e commit b8be2c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* [CHANGE] Updated readme to use this repo with tanka
66
* [ENHANCEMENT] How to rename buckets in AWS and Azure for `not healthy index found` playbook. #5
7+
* [BUGFIX] Updated blocks_storage_s3_endpoint in config.libsonnet to include the correct aws region
78

89
## 1.11.0 / 2021-12-30
910

cortex/config.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
storage_engine: 'chunks', // Available options are 'chunks' or 'blocks'
5858
blocks_storage_backend: 'gcs', // Available options are 'gcs', 's3', 'azure'
5959
blocks_storage_bucket_name: error 'must specify blocks storage bucket name',
60-
blocks_storage_s3_endpoint: 's3.dualstack.us-east-1.amazonaws.com',
60+
blocks_storage_s3_endpoint: 's3.dualstack.%s.amazonaws.com' % $._config.aws_region,
6161
blocks_storage_azure_account_name: if $._config.blocks_storage_backend == 'azure' then error 'must specify azure account name' else '',
6262
blocks_storage_azure_account_key: if $._config.blocks_storage_backend == 'azure' then error 'must specify azure account key' else '',
6363

0 commit comments

Comments
 (0)