lambda-letsencrypt icon indicating copy to clipboard operation
lambda-letsencrypt copied to clipboard

Add missing parameters for CloudFront UpdateDistribution

Open tomari opened this issue 9 years ago • 3 comments

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.

tomari avatar Oct 15 '16 14:10 tomari

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

woneill avatar Nov 18 '16 04:11 woneill

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}

MrMMorris avatar Mar 12 '17 14:03 MrMMorris

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

k0nG avatar Jul 26 '17 16:07 k0nG