serverless / serverless

⚡ Serverless Framework – Effortlessly build apps that auto-scale, incur zero costs when idle, and require minimal maintenance using AWS Lambda and other managed cloud services.
https://serverless.com
MIT License
46.67k stars 5.74k forks source link

Add support for AWS Region Thailand (ap-southeast-7) #13035

Closed Aekawan closed 1 month ago

Aekawan commented 1 month ago

Issue description

Is there an existing issue for this?

I have searched existing issues, it hasn't been reported yet Use case description Issue description As per the list of regions contained in

serverless/lib/plugins/aws/provider.js

Lines 1360 to 1400 in (https://github.com/serverless/serverless/blob/main/lib/plugins/aws/provider.js#L1360-L1400)

region: { enum: [ 'us-east-1', 'us-east-2', 'us-gov-east-1', 'us-gov-west-1', 'us-iso-east-1', 'us-iso-west-1', 'us-isob-east-1', 'us-west-1', 'us-west-2', 'af-south-1', 'ap-east-1', 'ap-northeast-1', 'ap-northeast-2', 'ap-northeast-3', 'ap-south-1', 'ap-south-2', 'ap-southeast-1', 'ap-southeast-2', 'ap-southeast-3', 'ap-southeast-4', 'ap-southeast-5', 'ca-central-1', 'ca-west-1', 'cn-north-1', 'cn-northwest-1', 'eu-central-1', 'eu-central-2', 'eu-north-1', 'eu-south-1', 'eu-south-2', 'eu-west-1', 'eu-west-2', 'eu-west-3', 'il-central-1', 'me-central-1', 'me-south-1', 'sa-east-1', ], } , AWS Region ap-southeast-7 is currently not supported. Using serverless v4.7.0:

✖ ServerlessError2: Configuration error at 'provider.region': must be equal to one of the allowed values [us-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-iso-east-1, us-iso-west-1, us-isob-east-1, us-west-1, us-west-2, af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ca-central-1, cn-north-1, cn-northwest-1, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, sa-east-1]

Context

No response

eahefnawy commented 1 month ago

Thanks for bringing this up @Aekawan ... We'll add it asap.

czubocha commented 1 month ago

Hey @Aekawan, support for ap-southeast-7 AWS region has just been added in 4.9.1