Menu
AWS CodeDeploy
User Guide (API Version 2014-10-06)

Validate Your AppSpec File

You can use a YAML validator to validate your AppSpec file.

To verify that you have placed your AppSpec file in the root directory of the application's source content's directory structure, run one of the following commands:

On local Linux, macOS, or Unix instances:

Copy
ls path/to/root/directory/appspec.yml

If the AppSpec file is not located there, a "No such file or directory" error will be displayed.

On local Windows instances:

Copy
dir path\to\root\directory\appspec.yml

If the AppSpec file is not located there, a "File Not Found" error will be displayed.