Boto can be configured with extra regions, but moto will fail to import if they are not in the hardcoded list in ec2/models.py. Instead, use the region list from boto to build the ec2_backends dict to ensure all regions are available. |
||
|---|---|---|
| .. | ||
| responses | ||
| __init__.py | ||
| exceptions.py | ||
| models.py | ||
| urls.py | ||
| utils.py | ||