https://github.com/stelligent/sample-pipeline-with-cfn-nag
Sample repository to demonstrate using cfn_nag in CodePipeline
https://github.com/stelligent/sample-pipeline-with-cfn-nag
Last synced: 11 months ago
JSON representation
Sample repository to demonstrate using cfn_nag in CodePipeline
- Host: GitHub
- URL: https://github.com/stelligent/sample-pipeline-with-cfn-nag
- Owner: stelligent
- License: mit
- Created: 2018-04-19T16:46:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T16:36:53.000Z (over 6 years ago)
- Last Synced: 2025-02-17T05:41:59.354Z (over 1 year ago)
- Language: Makefile
- Size: 50.8 KB
- Stars: 3
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://github.com/stelligent/cfn_nag) to fail the pipeline if violations are detected.
# Prerequisites
This pipeline leverages the [cfn-nag-pipeline](https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:923120264911:applications~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
```
