"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..

已提問 2 年前檢視次數 414 次
1 個回答
0
已接受的答案

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 pictureAWS
專家
已回答 2 年前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南