A DevOps engineer wants to validate a CloudFormation template for syntax errors before deploying it. Which AWS CLI command performs this check?
-
A
aws cloudformation describe-template --template-body file://template.yml
-
B
aws cloudformation validate-template --template-body file://template.yml
-
C
aws cloudformation lint --template-body file://template.yml
-
D
aws cloudformation test --template-body file://template.yml