Skip to content

Merge pull request #9 from getcft/release-1.1 #7

Merge pull request #9 from getcft/release-1.1

Merge pull request #9 from getcft/release-1.1 #7

name: CloudFormation Validation
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: CloudFormation-Validation
run: |
pip install awscli
aws cloudformation validate-template --template-body file://2-zone-vpc-cf-template.yml --region us-east-1
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}