FabricioG
FabricioG

Reputation: 3320

Yaml not passing validator

According to a tutorial I'm using for aws. This Yaml file should work. In atom I have YAML grammar selected and it's not showing any errors. However this is not passing YAML validator online and gives me an error in AWS. Any idea what I'm doing wrong with it?

version: 1
cron:
 — name: "shopify"
   url: "/shopify"
   schedule: "0 * * * *"

Upvotes: 2

Views: 52

Answers (2)

r.delic
r.delic

Reputation: 863

You're using an em dash (—) instead of a hyphen (-) on line 3.

Upvotes: 2

JakeRobb
JakeRobb

Reputation: 1970

You have an em dash (—) instead of a hyphen (-) on the third line.

Upvotes: 1

Related Questions