Skip to content

How to Validate an AWS CloudFormation Template

The AWS CLI comes with a useful subcommand to validate a CloudFormation template.

Simply run the following to validate a CloudFormation template file:

aws cloudformation validate-template --template-body file://cf-infra.yaml
Code language: plaintext (plaintext)

Remember to swap out cf-infra.yaml with your CloudFormation template file.

See also  How to increase column size in Redshift database tables
Tags:
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x