Drone plugins > AWS CloudFormation
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
stringoptionalMode to run the plugin, options are createOrUpdate, create, delete, validate.
Default: createOrUpdate
stackname
stringoptionalthe name of the CloudFormation stack. Required for all but validate mode.
Default: none
template
stringoptionalthe path to the CloudFormation template. Required for all but delete mode.
Default: none
params
objectoptionalobject of parameters to feed into the template. Not needed for validate and delete modes.
Default: none
region
stringoptionalthe AWS region to deploy to.
Default: eu-west-1
access_key
stringoptionalthe AWS access key.
Secret recommendedDefault: none
secret_key
stringoptionalthe AWS secret key.
Secret recommendedDefault: none
batch
arrayoptionalan array of configurations.
Default: none
parallel
booleanoptionalwhether to run the batch in parallel.
Default: false