/cfnex

Displays a given AWS CloudFormation export value given its name

Primary LanguageGoMIT LicenseMIT

cfnex

Displays the value of an AWS CloudFormation export, without having to install Python, install AWSCLI, or learn JMESPath.

Usage

$ cfnex [--profile PROFILE] [--region REGION] EXPORT_NAME

Example

Assuming your AWS_PROFILE and DEFAULT_AWS_REGION are already set, this command is simple:

$ cfnex "dev:route53:domain-name"
example.com

If your AWS environment variables are not setup, or you want to control the AWS configuration at runtime, you can do this:

$ cfnex --profile PROFILE --region REGION "dev:route53:domain-name"
example.com

Installation

Go to the Releases page and download the latest version to your computer. Unzip/untar the download and put the binary on your path.

There are no other system dependencies needed to run this binary.