Giter VIP home page Giter VIP logo

cloudformation-template-development-ci-cd-pipeline's Introduction

CloudFormation-Template-Development-CI-CD-Pipeline

Summary

CloudFormation template to create CI/CD Pipeline used to continuously develop CloudFormation templates.

Description

This template creates the following:

  • CodeCommit Respository

  • CodePipeline with the following:

    • CodeCommit Repo as the source stage
    • CloudFormation as the deploy stage
  • S3 bucket for CodePipeline artifacts

  • Custom Resource that does the following:

Use

aws cloudformation create-stack --stack-name CloudFormation-Template-Development-CI-CD-Pipeline --template-body file://CloudFormation-Template-Development-CI-CD-Pipeline.yml --capabilities CAPABILITY_NAMED_IAM

Purpose

Having a CI/CD Pipeline for CloudFormation template creation is extremely useful. You can begin building your template in the template.yml file in the git repo, and as each resource is added (or a small group of resources) you can do the following:

  • validate the template with the following command:

    aws cloudformation validate-template --template-body file://template.yml

  • commit changes to the local git repo, and then push the changes to the remote repo with git push

Once the CodeCommit repo has a new commit, the Pipeline is triggered and will perform an update-stack operation on the CloudFormation stack for this template.

This way you can continually add to the template and know that the resources that you have created are able to successfully launch without issues.

cloudformation-template-development-ci-cd-pipeline's People

Contributors

mike-mosher avatar mikmoshe avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.