Outputs: Bucket1: Value: !GetAtt Bucket1.Arn # Short GetAtt Bucket2: # Bucket comment Value: Fn::GetAtt: # GetAtt comment - Bucket2 - Arn # Arn comment # Multiline comment # starting at indent 0 Resources: Bucket2: Properties: BucketName: !Ref Name # Ref: comment Type: "AWS::S3::Bucket" Bucket1: Type: AWS::S3::Bucket Properties: BucketName: !Sub ${Bucket2}-newer Parameters: Name: Type: String