Skip to content

Commit

Permalink
Add cfn outputs to assist with discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexa committed Sep 25, 2017
1 parent cb92851 commit 0d29d94
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ deploy:
"SlackSSMKeyName"=$(STACKNAME_BASE)-slack \
--capabilities CAPABILITY_IAM || exit 0

discover:
aws cloudformation --region $(REGION) \
describe-stacks \
--stack-name $(STACKNAME_BASE) \
--query 'Stacks[0].Outputs'
8 changes: 8 additions & 0 deletions deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Parameters:
md5:
Type: String

Outputs:
ConfigTableName:
Description: "Name of Config Table"
Value: !Ref ConfigTable
ConfigTableArn:
Description: "Arn of Config Table"
Value: !GetAtt ConfigTable.Arn

Resources:
ChatTopicRole:
Type: AWS::IAM::Role
Expand Down

0 comments on commit 0d29d94

Please sign in to comment.