[EXTDAM-311] [S3] Filter out disabled Region to avoid exception while creating bucket Created: 06/Oct/21  Updated: 18/Oct/21  Resolved: 12/Oct/21

Status: Closed
Project: External DAMs
Component/s: None
Affects Version/s: 1.0.7
Fix Version/s: 1.1.0

Type: Improvement Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Yen Lac Tue
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Implementation, VN-Testing
Remaining Estimate: Not Specified
Time Spent: 2d 5h 29m
Original Estimate: Not Specified

Attachments: PNG File image-2021-10-06-13-43-34-216.png     PNG File image-2021-10-06-13-52-41-314.png    
Issue Links:
Cloners
is cloned by EXTDAM-316 DOC: [S3] Filter out disabled Region Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: Ext DAMs maintenance & partnership support
Sprint: Content Mngmt 14
Story Points: 3

 Description   

Context:

Some of the region is disabled by default in AWS (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) and some of them is "special" region. So we cannot create a new bucket in these regions, but we are listing them in the Region list select field.

  • Create new S3 bucket 
  • Select one of the disabled regions such as : Middle East (Bahrain), Africa (Cape Town), Asia Pacific (Hong Kong), Europe (Milan) or AWS GovCloud
  • Submit -> Throws exception due to AWS permission

Expected result:

  • Should only list the regions which is enabled (potentially can create bucket)


Generated at Mon Feb 12 01:53:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.