An open API service indexing awesome lists of open source software.

https://github.com/envato/cloudformation-output-buildkite-plugin

Collects cloudformation output from an AWS stack and add them as environment variables
https://github.com/envato/cloudformation-output-buildkite-plugin

aws-cloudformation buildkite-plugin

Last synced: 5 months ago
JSON representation

Collects cloudformation output from an AWS stack and add them as environment variables

Awesome Lists containing this project

README

          

# Cloudformation Output Buildkite Plugin

A [Buildkite plugin](https://buildkite.com/docs/agent/v3/plugins) for gathering Cloudformation output
and setting as `env` variables

## Gathering Cloudformation Output

```yml
steps:
- name: Get Output
plugins:
- envato/cloudformation-output#v2.1.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](LICENSE))