Skip to content
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

New AWS regions #43

Closed
ninjakitteh69 opened this issue May 4, 2020 · 1 comment · Fixed by #51
Closed

New AWS regions #43

ninjakitteh69 opened this issue May 4, 2020 · 1 comment · Fixed by #51
Milestone

Comments

@ninjakitteh69
Copy link
Contributor

ninjakitteh69 commented May 4, 2020

Hi. Could you please assist with adding some missing regions in the module

File where snippet can be added:
/library/Aws/AwsClient.php line: 181

Regions and mappings to be added:
Reference for regions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html

public static function enumRegions()
    {
        return array(
            'us-east-1'      => 'US East (N. Virginia)',
            'us-east-2'      => 'US East (Ohio)',
            'us-west-1'      => 'US West (N. California)',
            'us-west-2'      => 'US West (Oregon)',
            'af-south-1'     => 'Africa (Cape Town)',
            'ap-east-1'      => 'Asia Pacific (Hong Kong)',
            'ap-south-1'     => 'Asia Pacific (Mumbai)',
            'ap-northeast-3' => 'Asia Pacific (Osaka-Local)',
            'ap-northeast-2' => 'Asia Pacific (Seoul)',
            'ap-southeast-1' => 'Asia Pacific (Singapore)',
            'ap-southeast-2' => 'Asia Pacific (Sydney)',
            'ap-northeast-1' => 'Asia Pacific (Tokyo)',
            'ca-central-1'   => 'Canada (Central)',
            'cn-north-1'     => 'China (Beijing)',
            'cn-northwest-1' => 'China (Ningxia)',
            'eu-central-1'   => 'EU (Frankfurt)',
            'eu-west-1'      => 'EU (Ireland)',
            'eu-west-2'      => 'EU (London)',
            'eu-south-1'     => 'EU (Milan)',
            'eu-west-3'      => 'EU (Paris)',
            'eu-north-1'     => 'EU (Stockholm)',
            'me-south-1'     => 'Middle East (Bahrain)',
            'sa-east-1'      => 'South America (São Paulo)',
            'us-gov-east-1'  => 'AWS GovCloud (US-East)',
            'us-gov-west-1'  => 'AWS GovCloud (US-West)',
        );
    }
@ninjakitteh69
Copy link
Contributor Author

I have sent through a pull request (#44 ) with the above code if someone can please review and merge

@lippserd lippserd changed the title new AWS Regions New AWS regions Jul 13, 2020
@lippserd lippserd added this to the v1.1.0 milestone Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants