Drone plugins > AWS CloudFormation
amazon_cloudformation.svg

AWS CloudFormation

by robertstettner


The CloudFormation plugin can be used to create/update or delete stacks, and to validate templates.

Example

kind: pipeline
name: default

steps:
- name: deploy
  image: robertstettner/drone-cloudformation
  settings:
    stackname: my-awesome-stack
    template: templates/stack.yml
    params:
      Version: 123
      Environment: staging

Properties

  • mode

    stringoptional

    Mode to run the plugin, options are createOrUpdate, create, delete, validate.

    Default: createOrUpdate

  • stackname

    stringoptional

    the name of the CloudFormation stack. Required for all but validate mode.

    Default: none

  • template

    stringoptional

    the path to the CloudFormation template. Required for all but delete mode.

    Default: none

  • params

    objectoptional

    object of parameters to feed into the template. Not needed for validate and delete modes.

    Default: none

  • region

    stringoptional

    the AWS region to deploy to.

    Default: eu-west-1

  • access_key

    stringoptional

    the AWS access key.

    Secret recommended

    Default: none

  • secret_key

    stringoptional

    the AWS secret key.

    Secret recommended

    Default: none

  • batch

    arrayoptional

    an array of configurations.

    Default: none

  • parallel

    booleanoptional

    whether to run the batch in parallel.

    Default: false