First try of migration from Terraform to AWS CDK
After few months of hesitation and following different blog posts and news about AWS CDK, I finally decided to give it a try and build infrastructure around simple integration between S3 and CloudFront to distribute different assets and see if this something that I can replace Terraform with - have one project with Terraform 0.11 and AWS provider 1.19 to migrate. First confusion came from CloudFront OAC (Origin Access Control) and it’s actually not supported in both interfaces S3OriginProps nor S3OriginConfig and then I found this GitHub Issue #21771 opened since Aug 26, 2022!