You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were trying to create EC2 of m6i.xlarge in af-south-1 region which was added as part of commit e482e9e. But it is missing the instance_types field as empty. This is not letting us to create EC2 in af-south-1 region.
What can be the mitigation for this to do programatically?
I'd like to work on this. The cause is in contrib/scrape-ec2-sizes.py: its region table is keyed by the pricing file's location name, but af-south-1 is keyed by its region id, so no instance type is ever matched to it (ap-northeast-3 has the same problem through an outdated location name). I'll fix the keys, fill in the instance types for both regions and add a test.
PR is up: #2234. It fixes the scraper's keys for af-south-1 and ap-northeast-3 and fills in their instance types (346 and 384 types, including m6i.xlarge).
Activity
shaynhornik commentedon Nov 21, 2026
I'd like to work on this. The cause is in
contrib/scrape-ec2-sizes.py: its region table is keyed by the pricing file's location name, but af-south-1 is keyed by its region id, so no instance type is ever matched to it (ap-northeast-3 has the same problem through an outdated location name). I'll fix the keys, fill in the instance types for both regions and add a test.shaynhornik commentedon Nov 21, 2026
PR is up: #2234. It fixes the scraper's keys for af-south-1 and ap-northeast-3 and fills in their instance types (346 and 384 types, including m6i.xlarge).