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

Lambda function fails to deploy to CF distribution with TLSv1.2_2019 set #222

Open
karissademi opened this issue Feb 19, 2021 · 0 comments

Comments

@karissademi
Copy link

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant