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

[Migrated] Support for AWS China region #891

Closed
jneves opened this issue Feb 20, 2021 · 2 comments
Closed

[Migrated] Support for AWS China region #891

jneves opened this issue Feb 20, 2021 · 2 comments
Labels
auto-closed [Bot] Closed, details in comments no-activity [Bot] Closing soon if no new activity

Comments

@jneves
Copy link
Contributor

jneves commented Feb 20, 2021

Originally from: Miserlou/Zappa#2150 by linjungz

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: Miserlou/Zappa#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:
Miserlou/Zappa#1338
Miserlou/Zappa#1977

Steps to Reproduce

Deploy zappa for China region

Your Environment

  • Zappa version used: 0.51.0
  • Operating System and Python version: MacOS, Python 3.8.5
  • The output of pip freeze:
    acme==1.7.0
    appdirs==1.4.4
    argcomplete==1.12.0
    boto3==1.14.38
    botocore==1.17.38
    certbot==1.7.0
    certbot-s3front==0.4.2
    certifi==2020.6.20
    cffi==1.14.1
    cfn-flip==1.2.3
    chardet==3.0.4
    click==7.1.2
    ConfigArgParse==1.2.3
    configobj==5.0.6
    cryptography==3.0
    distlib==0.3.1
    distro==1.5.0
    docutils==0.15.2
    durationpy==0.5
    filelock==3.0.12
    future==0.18.2
    hjson==3.0.1
    idna==2.10
    Jinja2==2.11.2
    jmespath==0.10.0
    joblib==0.16.0
    josepy==1.3.0
    kappa==0.6.0
    livereload==2.6.2
    lunr==0.5.8
    Markdown==3.2.2
    MarkupSafe==1.1.1
    mkdocs==1.1.2
    mkdocs-material==5.5.3
    mkdocs-material-extensions==1.0
    mock==4.0.2
    nltk==3.5
    parsedatetime==2.6
    pip-tools==5.3.1
    placebo==0.9.0
    pycparser==2.20
    Pygments==2.6.1
    pymdown-extensions==7.1
    pyOpenSSL==19.1.0
    pyRFC3339==1.1
    python-dateutil==2.6.1
    python-slugify==4.0.1
    pytz==2020.1
    PyYAML==5.3.1
    regex==2020.7.14
    requests==2.24.0
    requests-toolbelt==0.9.1
    s3transfer==0.3.3
    six==1.15.0
    text-unidecode==1.3
    toml==0.10.1
    tornado==6.0.4
    tqdm==4.48.2
    troposphere==2.6.2
    urllib3==1.25.10
    virtualenv==20.0.30
    Werkzeug==0.16.1
    wsgi-request-logger==0.4.6
    zappa==0.51.0
    zope.component==4.6.2
    zope.deferredimport==4.3.1
    zope.deprecation==4.4.0
    zope.event==4.4
    zope.hookable==5.0.1
    zope.interface==5.1.0
    zope.proxy==4.3.5
  • Your zappa_settings.json:
    {
    "dev": {
    "app_function": ".",
    "aws_region": "cn-north-1",
    "profile_name": "cnlab",
    "project_name": "zappa",
    "runtime": "python3.8",
    "s3_bucket": "zappa-a9i8ftiq0"
    }
    }
Copy link

github-actions bot commented Apr 3, 2024

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

@github-actions github-actions bot added the no-activity [Bot] Closing soon if no new activity label Apr 3, 2024
Copy link

Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.

@github-actions github-actions bot added the auto-closed [Bot] Closed, details in comments label Apr 13, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-closed [Bot] Closed, details in comments no-activity [Bot] Closing soon if no new activity
Projects
None yet
Development

No branches or pull requests

1 participant