claudia
claudia copied to clipboard
Lambda function fails to deploy to CF distribution with TLSv1.2_2019 set
-
Expected behaviour: Successful deploy
-
What actually happens: The following error gets thrown
'1 validation error detected: Value \'TLSv1.2_2019\' at \'distributionConfig.viewerCertificate.minimumProtocolVersion\' failed to satisfy constraint: Member must satisfy enum value set: [TLSv1.1_2016, SSLv3, TLSv1.2_2018, TLSv1_2016, TLSv1]',
Full example -
Link to a minimal, executable project that demonstrates the problem: I can't but this is the code
--version claudia \
--use-s3-bucket $S3_BUCKET \
&& npx claudia set-cloudfront-trigger \
--distribution-id $CLOUDFRONT_DISTRIBUTION_ID \
--event-types origin-request \
--version claudia
-
Steps to install the project:
-
Steps to reproduce the problem: Happens when the CF distribution I'm trying to deploy to has the security policy set to TLSv1.2_2019 (recommended). I can deploy manually though the AWS console without issue.
Many thanks.