Skip to content

Commit

Permalink
Merge pull request #509 from synfinatic/aws-regions
Browse files Browse the repository at this point in the history
Add missing AWS regions to predictor
  • Loading branch information
synfinatic committed Aug 2, 2023
2 parents ae38bb2 + e6e7929 commit ea15d31
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AWS SSO CLI Changelog

## [v1.11.0] - 2023-07-31
## [v1.11.0] - 2023-08-02

### Bugs

Expand All @@ -19,6 +19,7 @@
* `ExpiresStr` field name is now `Expires` to match the header
* `Expires` is now `ExpiresEpoch` as both field name and header
* `ARN` header is now `Arn` to match the field name
* Add missing AWS Regions & SSO Regions #507

### Deprecated

Expand Down
18 changes: 16 additions & 2 deletions internal/predictor/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,20 @@ var AvailableAwsRegions []string = []string{
"ap-northeast-3",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-northeast-1",
"ca-central-1",
"eu-central-1",
"eu-central-2",
"eu-west-1",
"eu-west-2",
"eu-south-1",
"eu-west-3",
"eu-south-1",
"eu-south-2",
"eu-north-1",
"il-central-1",
"me-central-1",
"me-south-1",
"sa-east-1",
}
Expand All @@ -69,18 +75,26 @@ var AvailableAwsRegions []string = []string{
var AvailableAwsSSORegions []string = []string{
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
"af-south-1",
"ap-east-1",
"ap-south-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-southeast-1",
"ap-southeast-2",
"ap-northeast-1",
"ap-southeast-3",
"ca-central-1",
"eu-central-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"eu-south-1",
"eu-north-1",
"sa-east-1",
"me-south-1",
"us-gov-east-1",
"us-gov-west-1",
}

0 comments on commit ea15d31

Please sign in to comment.