我正在为在S3上托管的网站编写CFT – YML文件传递模板验证没有问题,但构建代理返回以下错误:
yaml.constructor.ConstructorError:无法确定标签’!GetAtt’的构造函数
Outputs:
WebsiteURL:
Value: !GetAtt RootBucket.WebsiteURL
Description: URL for website hosted on S3
最佳答案 尝试没有Fn :: GetAtt的简写版本
Outputs:
WebsiteURL:
Value: Fn::GetAtt: [ RootBucket, WebsiteURL ]
Description: URL for website hosted on S3