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

Support for AWS::CloudFront::OriginAccessControl #3681

Open
ottokruse opened this issue Nov 13, 2024 · 1 comment
Open

Support for AWS::CloudFront::OriginAccessControl #3681

ottokruse opened this issue Nov 13, 2024 · 1 comment
Labels
stage/needs-investigation Requires a deeper investigation type/feature

Comments

@ottokruse
Copy link

Right now I cannot upload my template to the Serverless Repository with an AWS::CloudFront::OriginAccessControl inside. We just refactored this, to move away from the now-legacy AWS::CloudFront::CloudFrontOriginAccessIdentity.

That CloudFront construct was launched in 2022: https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-cloudfront-introduces-origin-access-control-oac/

However, we run into an error and it turns out AWS::CloudFront::OriginAccessControl is not on the List of Supported AWS Resources for the Serverless Repository.

Can that be supported please?

+ sam publish --template packaged.yaml
Publish Failed
Error: The template contains unsupported resource types. [AWS::CloudFront::OriginAccessControl]
Please follow the instructions in https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html
@ottokruse ottokruse added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Nov 13, 2024
@roger-zhangg roger-zhangg added type/feature stage/needs-investigation Requires a deeper investigation and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Jan 24, 2025
@roger-zhangg
Copy link
Member

Hi @ottokruse thanks for reporting, currently tracking this as a feature request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/needs-investigation Requires a deeper investigation type/feature
Projects
None yet
Development

No branches or pull requests

2 participants