Skip to content

fix(config-resolver): get signingRegion from regionRegex if not present for FIPS #2936

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

Merged
merged 10 commits into from
Oct 27, 2021

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Oct 26, 2021

Issue

JS-2904

This PR will be rebased, and made ready after intermediate PR #2934 is merged. PR is ready!

Description

Gets signingRegion from regionRegex if not present for FIPS endpoints.

Testing

  • CI
  • Verified that yarn test:functional is successful.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr changed the title chore(config-resolver): move RegionHash and PartitionHash to new files fix(config-resolver): get signingRegion from regionRegex if not present for FIPS Oct 26, 2021
@trivikr trivikr force-pushed the signing-region-regionRegex branch from bcd37ae to 4981e1b Compare October 26, 2021 18:04
@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2021

Codecov Report

Merging #2936 (57644ef) into main (4df3162) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2936      +/-   ##
==========================================
+ Coverage   58.57%   58.59%   +0.02%     
==========================================
  Files         558      560       +2     
  Lines       30248    30264      +16     
  Branches     7443     7448       +5     
==========================================
+ Hits        17718    17734      +16     
  Misses      12530    12530              
Impacted Files Coverage Δ
...es/config-resolver/src/regionInfo/getRegionInfo.ts 100.00% <100.00%> (ø)
...esolver/src/regionInfo/getResolvedSigningRegion.ts 100.00% <100.00%> (ø)
...ges/config-resolver/src/regionInfo/isFipsRegion.ts 100.00% <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 4df3162...57644ef. Read the comment docs.

@trivikr trivikr marked this pull request as ready for review October 26, 2021 18:45
@trivikr trivikr requested a review from AllanZhengYP October 26, 2021 18:46
Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

Nice to see more FIPS regions are supported! I have 2 very nit questions, but approve it now!

@trivikr trivikr merged commit 79bbc43 into aws:main Oct 27, 2021
@trivikr trivikr deleted the signing-region-regionRegex branch October 27, 2021 19:21
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants