By using AWS re:Post, you agree to the Terms of Use

"message": "Bad Request: Configuration must be a valid YAML document"

0

I followed the AWS steps tp create a cluster https://catalog.us-east-1.prod.workshops.aws/v2/workshops/21c996a7-8ec9-42a5-9fd6-00949d151bc2/en-US/hpccluster/hpc-launchpcluster, however, I got this message at the last step..

1 Answer
0
Accepted Answer

Without the YAML file you're using it's not possible to say where the problem is.

A common problem is if you've copied the text on the previous page into (say) Microsoft Word and then saved it. Some editors (Word is the main offender here but there are others) will change the formatting, insert "smart quotes" and that will make the YAML file non-compliant. Always use a plain text editor like Notepad for copy/paste of code.

profile picture
EXPERT
answered 8 months ago
  • Thank you very much for a quick response! I did use Notepad to edit it. In fact I also used vi edit it on CouldShell, both gave me the same ERROR messages. Can I share the YAML file somewhere here?

  • never mind, I figured this out. looks like there there is a indentation incorrect in my YAML file. I corrected it. Thanks

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions