Test your CloudFormation files with Snyk CLI

With Snyk Infrastructure as Code, you can test your CloudFormation files using the CLI. You can test files in both YAML and JSON formats. You can also scan AWS CDK applications. See Test your AWS CDK files with Snyk CLI.

Test for an issue on specified files using the following command:

snyk iac test

Example:

snyk iac test deploy.yaml

You can also specify multiple files by appending the file names after each other, for example:

snyk iac test file-1.yaml file-2.yaml

Last updated

Was this helpful?

#4580: CLI: help, Ignore - support ticket 49463-add Iac examples

Change request updated