aws-samples / amazon-cloudfront-secure-static-site

Create a secure static website with CloudFront for your registered domain.
Apache License 2.0
389 stars 140 forks source link

The following resource(s) failed to create: [OriginAccessControl] #67

Closed irivera-irtsolutions closed 1 year ago

irivera-irtsolutions commented 1 year ago

The origin access control step keeps failing. I have followed the steps in the description not sure how I can get more detailed info.

ConnorKirk commented 1 year ago

Thanks for opening an issue. Can you provide the error message from CloudFormation?

ConnorKirk commented 1 year ago

How long is your stack name? An issue affecting the OriginAccessControl resource has been reported in #66

The workaround for that issue is to use a shorter stack name. Could you try that please.

irivera-irtsolutions commented 1 year ago

I did a fresh run using this template. I received the following error. I have since given up on using the template and did things manually.

Embedded stack arn:aws:cloudformation:us-east-1:344892229030:stack/TestPlzDelete-CloudFrontStack-17KFHTH7YSBO/31b150b0-5748-11ee-83e7-0e75682bbb33 was not successfully created: The following resource(s) failed to create: [CloudFrontDistribution].