This Action for CloudFormation Guard verifies that cloudfomation templates meet a built-in pre-defined set of rules.
Required The directory where cloudformation templates are stored. Default "cdk.out"
.
None
name: Check CloudFormation Templates with CFN Guard
on: [push]
jobs:
check-cfn-templates:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cloudformation Guard Checks
uses: maskerade/cfn-guard-action@master
with:
cfn_subdirectory: 'cdk.out'