cronus42 / sample-pipeline-with-cfn-nag

Sample repository to demonstrate using cfn_nag in CodePipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This repo contains a simple API written in Go that runs as a Lambda function behind API Gateway. The toolchain directory contains CodePipeline and CodeBuild spec files to define a continuous delivery pipeline for provisioning the API.

Additionally, the pipeline leverages cfn_nag to fail the pipeline if violations are detected.

Prerequisites

This pipeline leverages the cfn-nag-pipeline application in Amazon Serverless Application Repository. You must install that application before deploying the pipeline for this sample application.

Pipeline

To provision the pipeline, fork this repo and then run the following with your GitHub personal access token:

cd toolchain
make deploy GITHUB_TOKEN=xxxxxxxxxxxxx GITHUB_USER=your_user_name

pipeline

About

Sample repository to demonstrate using cfn_nag in CodePipeline

License:MIT License


Languages

Language:Makefile 65.6%Language:Go 34.4%