Open FlorisHoogenboom opened 5 years ago
It seems this has something to do with the base_path
setting in zappa_settings.json. Setting this to an empty string seems to resolve the problem.
I just tried your fix with base_path, didn't work for me. I still get
Setting DNS challenge.. Waiting for DNS to propagate.. Deleting DNS challenge.. Updating domain name! Parameter validation failed: Invalid type for parameter patchOperations[0].value, value: None, type: <class 'NoneType'>, valid types: <class 'str'> Failed to generate or install certificate! :(
My dependencies
argcomplete==1.9.3 base58==1.0.0 beautifulsoup4==4.6.3 boto3==1.9.14 botocore==1.12.14 certifi==2018.8.24 cfn-flip==1.0.3 chardet==3.0.4 Click==7.0 docutils==0.14 durationpy==0.5 Flask==1.0.2 future==0.16.0 hjson==3.0.1 idna==2.7 itsdangerous==0.24 Jinja2==2.10 jmespath==0.9.3 kappa==0.6.0 lambda-packages==0.20.0 MarkupSafe==1.0 placebo==0.8.2 python-dateutil==2.6.1 python-slugify==1.2.4 PyYAML==3.12 requests==2.19.1 s3transfer==0.1.13 six==1.11.0 toml==0.9.6 tqdm==4.19.1 troposphere==2.3.3 Unidecode==1.0.22 urllib3==1.23 Werkzeug==0.14.1 wsgi-request-logger==0.4.6 zappa==0.46.2
Did you set it to "" or to null? I used the former.
I did set it to "" also, with no success so far.
While upgrading our internal Django application I also decided to upgrade Zappa from 0.45.1 to 0.46.1 and botocore from 1.12.0 to 1.12.4. However, when running
zappa certify env
with the new versions I run into a botocore error.I'm using ACM to manage certificates with an internal root CA. The deployment using the older versions mentioned above but after upgrading I run into the error below.
Expected Behavior
Zappa should retrieve and use the certificate from ACM
Actual Behavior
The following error is raised:
Steps to Reproduce
zappa==0.46.1
andbotocore==1.12.4
and Python 3.6Your Environment
pip freeze
: