Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(amplify-e2e-core): update source of truth for supported regions #6988

Merged
merged 2 commits into from
Apr 9, 2021
Merged

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Mar 30, 2021

Description of changes

#3992 added a list of supported regions in amplify-e2e-core. When #4092 was merged, it added a second list of supported regions, which has drifted from the other list. This commit consolidates the two lists.

Issue #, if available

Description of how you validated changes

Ran an e2e test locally.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

#3992 added a list
of supported regions in amplify-e2e-core. When
#4092 was merged,
it added a second list of supported regions, which has drifted
from the other list. This commit consolidates the two lists.
@cjihrig cjihrig requested a review from a team as a code owner March 30, 2021 15:53
@codecov
Copy link

codecov bot commented Mar 30, 2021

Codecov Report

Merging #6988 (ce9672d) into master (27030ea) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #6988   +/-   ##
=======================================
  Coverage   56.41%   56.41%           
=======================================
  Files         445      445           
  Lines       21764    21764           
  Branches     4354     4354           
=======================================
  Hits        12278    12278           
  Misses       8671     8671           
  Partials      815      815           
Impacted Files Coverage Δ
...lify-provider-awscloudformation/src/aws-regions.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27030ea...ce9672d. Read the comment docs.

This commit uses the region list exported from aws-regions.js in
aws-utils/aws-amplify.js instead of duplicating the list.
'ap-southeast-2',
'ca-central-1',
];
const { regions: amplifyServiceRegions } = require('../aws-regions');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this list identical to what we had?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, although not sorted in the same order. Here is where they come from.

@jhockett jhockett merged commit bb8f8e6 into aws-amplify:master Apr 9, 2021
@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label Apr 14, 2021
@github-actions
Copy link

👋 Hi, this pull request was referenced in the v4.48.0 release!

Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v4.48.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
referenced-in-release Issues referenced in a published release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants