Skip to content

circleci-orbs-mamono210/cloudformation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

orbss/aws-cloudformation

Configure and install AWS CLI and manipulate aws cloudformation command in CircleCI job

Dependencies

Usage

Set up AWS Access Key

Register Access Key, Secret Access Key and default region to CircleCI Environment Variables section.

AWS Access Key Registration

Parameters and commands

See details CircleCI Orb Registry - orbss/aws-cloudformation

.circleci/config.yml examples

Checkout example

version: 2.1

orbs:
  cloudformation: orbss/[email protected]

workflows:
  version: 2
  stack-test:
    jobs:
      - cloudformation/create-stack:
          stack-name: my-stack
          template-file-path: cloudformation-template-file-path.yaml
          extra-arguments: --parameters ParameterKey=InstanceType,ParameterValue=t2.micro ParameterKey=KeyName,ParameterValue=circleci
      - some-jobs
      - cloudformation/delete-stack:
          requires:
            - cloudformation/create-stack
          stack-name: my-stack

Retrieve CloudFormation template file from GitHub example

version: 2.1

orbs:
  cloudformation: orbss/[email protected]

workflows:
  version: 2
  stack-test:
    jobs:
      - cloudformation/create-stack:
          stack-name: my-stack
          git-url: https://github.com/my-pubic-repo.git
          template-file-path: cloudformation-template-file-path.yaml
          extra-arguments: --parameters ParameterKey=InstanceType,ParameterValue=t2.micro ParameterKey=KeyName,ParameterValue=circleci
      - some-jobs
      - cloudformation/delete-stack:
          requires:
            - cloudformation/create-stack
          stack-name: my-stack

About

CircleCI Orbs for controlling AWS CloudFormation

Resources

Stars

Watchers

Forks

Packages

No packages published