schlee_tv schlee.tv 学习 为了使rout53别名记录指向Cloudfront URL,CloudFront发行版必须在其别名中列出域名,例如。 resource " aws_cloudfront_distribution " " distribution " { ... aliases = [ " schlee.tv " ] ... 为了使Cloudfront能够从s3存储桶中读取,我们必须首先创建一个Cloudfront访问原始ID,然后在存储桶中放置一个策略,该策略允许原始ID读取存储桶的对象: resource " aws_cloudfront_origin_access_identity " " origin_identity " { comment = " identity for schlee.tv access origin