Merge pull request #33612 from wtravO/AWSS3UrlReader-fix-for-region-url-matching

fix: treat any url ending with amazonaws.com(.cn) as Amazon Hosted
This commit is contained in:
Fredrik Adelöw
2026-03-27 11:41:39 +01:00
committed by GitHub
3 changed files with 60 additions and 1 deletions
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
Fixed `AwsS3UrlReader` failing to read files from S3 buckets configured with custom endpoint hosts. When an integration was configured with a specific endpoint like `https://bucket-1.s3.eu-central-1.amazonaws.com`, the URL parser incorrectly fell through to the non-AWS code path, always defaulting the region to `us-east-1` instead of extracting it from the hostname.