我正在为在S3上托管的网站编写CFT - YML文件传递template-validate而没有任何问题,但构建代理返回以下错误:
yaml.constructor.ConstructorError: could not determine a constructor for the tag '!GetAtt'
Outputs:
WebsiteURL:
Value: !GetAtt RootBucket.WebsiteURL
Description: URL for website hosted on S3

答案 0 :(得分:1)
尝试不使用Fn :: GetAtt的简写版本
Outputs:
WebsiteURL:
Value: Fn::GetAtt: [ RootBucket, WebsiteURL ]
Description: URL for website hosted on S3