-
Notifications
You must be signed in to change notification settings - Fork 81
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
Upgrade to v1.6 fails during cdk synth #603
Comments
Hello @blitzmohit , Do you mind also trying out the fix in your deployment? Thanks a lot! |
@dbalintx Thank you for looking into this. I was able to get the cloudstack to work with similar modifications late last night and was hoping to create the PR this morning. Note that there were 2 other issues related to cloudfront that our deploy encountered after this :
|
Hello Mohit, Thank you for confirming. Thanks again for pointing out the issue! |
### Feature or Bugfix - Bugfix ### Detail In case a custom domain and ACM certificate is configured for CloudFront, these parameters have to be passed differently to the newly introduced CloudFront distribution CDK class, introduced in [v1.6](84c555e#diff-c65de5ab1eebd2a930807381430fa602793cc9966ab2a064cb29603162377030) ### Relates #603 Testing: Tested by, - creating a fresh deployment with v1.5 with a custom domain and SSL certificate - upgrading to v1.6, with the bugfix content from this PR 2 issues that are detailed in #603 arose (both related to the upgrade process), mitigation method of them is detailed there in the issue. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
### Feature or Bugfix - Bugfix ### Detail In case a custom domain and ACM certificate is configured for CloudFront, these parameters have to be passed differently to the newly introduced CloudFront distribution CDK class, introduced in [v1.6](data-dot-all@84c555e#diff-c65de5ab1eebd2a930807381430fa602793cc9966ab2a064cb29603162377030) ### Relates data-dot-all#603 Testing: Tested by, - creating a fresh deployment with v1.5 with a custom domain and SSL certificate - upgrading to v1.6, with the bugfix content from this PR 2 issues that are detailed in data-dot-all#603 arose (both related to the upgrade process), mitigation method of them is detailed there in the issue. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Describe the bug
While upgrading to v1.6 with a custom domain setting, the build fails during cdk synth stage.
Complete logs from the build stage: https://gist.github.com/blitzmohit/7fb21ac8c3fdb01453a8254304211b3e
How to Reproduce
Upgrade from v1.5 to v1.6 with internet_facing: true along with custom_domain including certificate_arn
Expected behavior
No response
Your project
No response
Screenshots
No response
OS
Linux
Python version
3.9.17
AWS data.all version
1.6
Additional context
The issue seems related to the modifications made in https://github.com/awslabs/aws-dataall/pull/529/files#diff-c65de5ab1eebd2a930807381430fa602793cc9966ab2a064cb29603162377030
It seems it is related to the ViewerCert being passed and difference in configuration properties mentioned in https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_cloudfront/README.html#the-distribution
The text was updated successfully, but these errors were encountered: