AWS Certified Cloud Practitioner

Sign Up Free or Log In to participate!

YAML file provided didn´t work during the template creation using CloudFormation.

YAML file provided didn´t work during the template creation using CloudFormation.

This is the error

Messages 30/8/2021 10:06:29 – Cannot render the template because of an error.: YAMLException: the stream contains non-printable characters at line 2, column 1: WebResourceFrameNameWebR … ^

1 Answers

Hi, Alejandro! Welcome to the course! I’m assuming that you’re copying and pasting the template from GitHub. Sometimes when you copy and paste there are non-printable characters that may be hidden in the text. There are tools that you can use to view/remove these hidden characters. I’ve used the "Render Control Characters" option in Visual Studio Code to find/remove hidden characters.

-Kesha

Alejandro Restuccia

Hi Kesha, it seemed that the problem was during the saving of the YAML file. I did it again and worked well. Thanks

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?