无法确定标签的构造函数'!GetAtt'

时间:2017-06-27 17:28:04

标签: amazon-cloudformation

我正在为在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




1 个答案:

答案 0 :(得分:1)

尝试不使用Fn :: GetAtt的简写版本



Outputs:
  WebsiteURL:
    Value: Fn::GetAtt: [ RootBucket, WebsiteURL ]
    Description: URL for website hosted on S3