Could not define constructor for tag '! GetAtt '
I am writing a CFT for an S3 hosted site. The YML file passes template validation without any problems, but the build agent returns the following error:
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
+3
source to share
1 answer
Try it without the shorthand version of Fn :: GetAtt
Outputs: WebsiteURL: Value: Fn::GetAtt: [ RootBucket, WebsiteURL ] Description: URL for website hosted on S3
0
source to share