CloudFront S3Origin: The origin access identity is not being applied #22451
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
@aws-cdk/aws-route53
Related to Amazon Route 53
bug
This issue is a bug.
Describe the bug
The origin access identity is not being applied to the origin when CloudFormation is synth'd
Expected Behavior
The origin access identity is referenced in the origin configuration in CloudFormation.
Current Behavior
The origin access identity is created as a resource but not associated to the origin.
Reproduction Steps
Possible Solution
Looking at the
s3-origin.ts
code I really don't understand why this would be.Additional Information/Context
No response
CDK CLI Version
2.45.0 (build af1fb7c)
Framework Version
No response
Node.js Version
v16.16.0
OS
Windows 10 Pro 19043.1889
Language
Typescript
Language Version
TypeScript 4.8.3
Other information
The template created is below. Search for devoriginaccessidentity86C478E2
The text was updated successfully, but these errors were encountered: