Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.21k forks source link

Support for AWS China region #2150

Open linjungz opened 3 years ago

linjungz commented 3 years ago

Context

Zappa currently doesn't support AWS China region. We would like to use it for AWS China region, especially for Ningxia Region. You could kindly refer to this issue: https://github.com/Miserlou/Zappa/issues/1564

Expected Behavior

Support for AWS China region.

Actual Behavior

Currently it doesn't support China region as arn format is different in AWS China region.

Possible Fix

  1. Service availablity: Route53/ACM/Lambda EnvironmentVariablesFeature/Cloudfront are all available now in China region
  2. As suggested in issue #1977 , need to fix core.py as partition in arn is "arn-cn" in China region.

Related issues: https://github.com/Miserlou/Zappa/issues/1338 https://github.com/Miserlou/Zappa/issues/1977

Steps to Reproduce

Deploy zappa for China region

Your Environment

linjungz commented 3 years ago

Hi, could someone take a look at this issue? Thanks