Collects cloudformation output from an AWS stack and add them as environment variables
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.buildkite
hooks
tests
Dockerfile
LICENSE
README.md
docker-compose.yml
plugin.yml

README.md

Cloudformation Output Buildkite Plugin

A Buildkite plugin for gathering Cloudformation output and setting as env variables

Gathering Cloudformation Output

steps:
  - name: Get Output
    plugins:
      - envato/cloudformation-output#v2.0.0:
          output:
            - 'mystack:myoutput:region'
            - 'yourstack:youroutput:region'

Configuration

output (required)

You can use this plugin to return Cloudformation output from AWS and set env variables for use by other scripts or plugins.

The returned variable is named the same as your Cloudformation stack output.

Note: Your output names will have - replaced with _ and capitalised, ie, my-output will be the env var MY_OUTPUT.

License

MIT (see LICENSE)