How can I quickly and effectively debug CloudFormation templates?

前端 未结 12 1364
野的像风
野的像风 2020-11-30 20:53

CloudFormation is a powerful AWS offering that allows the programmatic creation of AWS resource stacks, such as the web tier of an application, a high performance computing

12条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 21:38

    The AWS CloudFormation linter provides additional static analysis beyond aws cloudformation validate-template

    It will inform you which resource types and instance types are unavailable in certain regions, validate property values against allowed values, catch circular resource dependencies, syntax errors, template limits, and much more

    In addition to the CLI, one of the most popular mechanisms to remember to run the linter is installing an editor plugin like the Visual Studio Code extension which runs on every file save

    Other mechanisms like pre-commit Git hooks are described here

提交回复
热议问题