CDK-SPA-Deploy icon indicating copy to clipboard operation
CDK-SPA-Deploy copied to clipboard

Update to use CDK V2

Open brochington opened this issue 3 years ago • 4 comments
trafficstars

This is a very helpful little bit of kit, and would be helpful to have it use V2 of CDK, as it looks like V1 is pretty much deprecated.

brochington avatar Dec 20 '21 17:12 brochington

Hey, I just released 2.0.0-alpha.0 with CDK 2 support. Everything seems to work as expected so will update from alpha to a full release after some user testing

nideveloper avatar Dec 22 '21 11:12 nideveloper

This seems to work for us also. When will you release the final version?

manumaki avatar Jan 10 '22 09:01 manumaki

Any update on this @nideveloper ? =)

manumaki avatar Jan 24 '22 06:01 manumaki

CDK v1's CloudFrontWebDistribution constructor prop aliasConfiguration does not exist in CDK v2's CloudFrontWebDistribution, so I don't think this line of code is going to work w/ CDK v2.

UPDATE: even though the docs don't show it, CloudFrontWebDistributionProps.aliasConfiguration does still exist but is deprecated in favor of CloudFrontWebDistributionProps.viewerCertificate.

ppena-LiveData avatar Feb 17 '22 21:02 ppena-LiveData