Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Fix exports #81

Merged
merged 1 commit into from
Jun 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions deploy/cloudformation/static-host-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Description: >
this file.


Parameters:
Parameters:
SourceRepoOwner:
Type: String
Description: The owner of the repository in Github
Expand Down Expand Up @@ -55,8 +55,14 @@ Outputs:
Export:
Name: !Join [ ':', [ !Ref 'AWS::StackName', 'PipelineName']]

ApprovalTopic:
Description: The manual approval SNS topic
Value: !Ref ApprovalTopic
Export:
Name: !Join [ ':', [ !Ref 'AWS::StackName', 'ApprovalTopic']]

Resources:
ApproversTopic:
ApprovalTopic:
Type: AWS::SNS::Topic

CodeBuildRole:
Expand Down Expand Up @@ -599,7 +605,7 @@ Resources:
Provider: Manual
Version: "1"
Configuration:
NotificationArn: !Ref ApproversTopic
NotificationArn: !Ref ApprovalTopic
CustomData:
Fn::Sub:
- "A new version of https://github.com/${SourceRepoOwner}/${SourceRepoName} has been deployed to https://${TestHostname} and is awaiting your approval. If you approve these changes, they will be deployed to https://${ProdHostname}."
Expand Down