Deploy to AWS CloudFormation

The AWS CloudFormation action lets you create, update and delete CF stacks on a push to branch, recurrently on a time interval, or manually on a click.

Image loading...Example pipeline with CloudFormation

Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Hint

📚 Learn more about CloudFormation action features, integrations and alternatives.

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider:

Image loading...Creating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.

Image loading...Adding a new pipeline

Configure AWS CloudFormation action

Warning
Before you add the action, make sure that your AWS user has proper permissions assigned and full programmatic access to AWS.
  1. Look up AWS on the action list and click AWS CloudFormation to add it to the pipeline:

Image loading...Amazon Web Services actions

  1. Within the action, you first select the method you need and provide your CloudFormation stack's details to proceed. There are four methods available:
  • Deploy
  • Create
  • Update
  • Delete

Image loading...AWS CloudFormation method select

  1. Once you add the method, you will be able to adjust additional settings available within the action. The action has five configuration tabs in total:
  • Run – here you select the AWS integration and provide the deployment command
  • Environment – if your process requires specific dependencies, you can install them here. The files will stay cached in the container for future pipeline runs
  • Variables – here you can view the variables created by your AWS integration, and create your own if required
  • Conditions – here you configure the trigger conditions for which the action will run
  • Options – here you define the action's name and behavior on failure and timeout

Image loading...AWS CloudFormation action configuration

  1. When ready, click Add this action to finish configuration.
Success
Congratulations – you have just automated serverless deployments with AWS CloudFormation and Buddy! 🥳

Last modified on Sep 24, 2024