skip to Main Content

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

2

Answers


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

    Login or Signup to reply.
  2. You’re using an em dash (—) instead of a hyphen (-) on line 3.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search