As we go through several of my DevOps series we will be writing and using YAML files. This is my preferred free tool to use to deploy YAML files with confidence.
Copy & paste your .yml file into the left plane and click validate. This tool does a great job of identifying the exact line and column your mistake is on.