[英]How do I add origin access control to S3 object within sceptre template?
I can use AWS console to follow directions and set up an S3 object behind CloudFront using an "origin access control."我可以使用 AWS 控制台按照说明使用“源访问控制”在 CloudFront 后面设置一个 S3 object。 There's a trickiness in a certain ordering of creating and updating distributions and bucket policies.
创建和更新分配和存储桶策略的特定顺序有一个技巧。 I've been unable to figure out how to configure all of this in a YAML file for automated deployment using sceptre?
我一直无法弄清楚如何在 YAML 文件中配置所有这些以使用权杖进行自动部署? I have looked around.
我环顾四周。 Any help appreciated.
任何帮助表示赞赏。
You need to create some cloudformation reasources like S3Bucket, BucketPolicy, OriginAccessIdentity and a Cloudfront resources.您需要创建一些 cloudformation 资源,例如 S3Bucket、BucketPolicy、OriginAccessIdentity 和 Cloudfront 资源。
This blog post will help you 这篇博文将为您提供帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.