ubergeek42 / lambda-letsencrypt

Free Lets-Encrypt certificate management for CloudFront/AWS
MIT License
211 stars 37 forks source link

Add missing parameters for CloudFront UpdateDistribution #24

Open tomari opened 8 years ago

tomari commented 8 years ago

CustomHeaders and QueryStringCacheKeys parameters are added to appropriate places, as they are now required for CloudFront UpdateDistribution operation.

Tested against my S3/CloudFront distribution today and works ok.

woneill commented 8 years ago

These changes were needed for me too. This was my first time setting this up

MrMMorris commented 7 years ago

for anyone else finding this, you will probably also need to add the following to the end of cf_config['DistributionConfig']['CacheBehaviors']['Items'].append:

'LambdaFunctionAssociations': {'Quantity': 0}

k0nG commented 7 years ago

Thanks @tomari / @MrMMorris this has helped me and is still working as of July 2017