Skip to content

Commit

Permalink
Add eu-central-2 (Zurich)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioackermann authored Nov 28, 2022
1 parent c27ef63 commit a11a1ed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
<a class="dropdown-item region-item" data-region="ap-northeast-1">Asia Pacific (Tokyo)</a>
<a class="dropdown-item region-item" data-region="ca-central-1">Canada (Central)</a>
<a class="dropdown-item region-item" data-region="eu-central-1">EU (Frankfurt)</a>
<a class="dropdown-item region-item" data-region="eu-central-2">EU (Zurich)</a>
<a class="dropdown-item region-item" data-region="eu-west-1">EU (Ireland)</a>
<a class="dropdown-item region-item" data-region="eu-west-2">EU (London)</a>
<a class="dropdown-item region-item" data-region="eu-south-1">EU (Milan)</a>
Expand Down
1 change: 1 addition & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ $(document).ready(function(){
"ap-northeast-1": "Asia Pacific (Tokyo)",
"ca-central-1": "Canada (Central)",
"eu-central-1": "EU (Frankfurt)",
"eu-central-2": "EU (Zurich)",
"eu-west-1": "EU (Ireland)",
"eu-west-2": "EU (London)",
"eu-west-3": "EU (Paris)",
Expand Down
2 changes: 1 addition & 1 deletion js/services/greengrass.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ async function updateDatatableInternetofThingsGreengrass() {
blockUI('#section-internetofthings-greengrass-subscriptiondefinitionversions-datatable');
blockUI('#section-internetofthings-greengrass-v2componentversions-datatable');

if (["us-east-1", "us-east-2", "us-west-2", "ap-south-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ap-northeast-1", "eu-central-1", "eu-west-1", "eu-west-2", "us-gov-east-1", "us-gov-west-1"].includes(region)) { // has to be whitelisted otherwise it hangs on the API call
if (["us-east-1", "us-east-2", "us-west-2", "ap-south-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-southeast-3", "ap-northeast-1", "eu-central-1", "eu-central-2", "eu-west-1", "eu-west-2", "us-gov-east-1", "us-gov-west-1"].includes(region)) { // has to be whitelisted otherwise it hangs on the API call
await sdkcall("Greengrass", "listConnectorDefinitions", {
// no params
}, true).then(async (data) => {
Expand Down
1 change: 1 addition & 0 deletions js/services/ses.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ async function updateDatatableBusinessApplicationsSES() {
"ap-northeast-2",
"ca-central-1",
"eu-central-1",
"eu-central-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
Expand Down

0 comments on commit a11a1ed

Please sign in to comment.