Skip to content

InstanceTypes not available in af-south-1 #1984

Open

Description

@az-nz-github

Feature Request

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?

For more information on contributing, please see https://libcloud.readthedocs.io/en/latest/development.html

Activity

  1. shaynhornik commented on Nov 21, 2026

    @shaynhornik

    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.

  2. shaynhornik commented on Nov 21, 2026

    @shaynhornik

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions