getmoto / moto

A library that allows you to easily mock out tests based on AWS infrastructure.
http://docs.getmoto.org/en/latest/
Apache License 2.0
7.66k stars 2.05k forks source link

EC2: Ensure all regions have availability zones #8125

Closed bblommers closed 2 months ago

bblommers commented 2 months ago

Related to #8087

Zones are now automatically created for every region that botocore returns - making it future proof for new regions added in the future. Some explicit zone mappings were kept for backwards compatibility.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.49%. Comparing base (ca14870) to head (fb83b3c). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8125 +/- ## ======================================= Coverage 94.48% 94.49% ======================================= Files 1150 1150 Lines 99011 99021 +10 ======================================= + Hits 93555 93567 +12 + Misses 5456 5454 -2 ``` | [Flag](https://app.codecov.io/gh/getmoto/moto/pull/8125/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | Coverage Δ | | |---|---|---| | [servertests](https://app.codecov.io/gh/getmoto/moto/pull/8125/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | `28.81% <100.00%> (+<0.01%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/getmoto/moto/pull/8125/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto) | `94.46% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getmoto#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

This is now part of moto >= 5.0.15.dev16