Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit 9da19ba

Browse files
shamikatamazonEC2 Default User
and
EC2 Default User
authored
fix for bug 312 (#313)
Co-authored-by: EC2 Default User <[email protected]>
1 parent a21cab6 commit 9da19ba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

provider-utils/awscloudformation/cloudformation-templates/vod-helpers/SnsSetup.template.ejs

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Description:
22
"MediaConvert notifications sent to SNS and then forwarded to Lambda"
33

44
Parameters:
5+
env:
6+
Type: String
7+
Description: The environment name. e.g. Dev, Test, or Production.
8+
Default: NONE
59
pS3:
610
Type: String
711
Description: Store template and lambda package

provider-utils/awscloudformation/cloudformation-templates/vod-workflow-template.yaml.ejs

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ Resources:
265265
pS3: !Ref pS3
266266
pSourceFolder: !Ref pSourceFolder
267267
pFunctionHash: "<%= props.hashes.MediaConvertStatusLambda %>"
268-
<% if (props.parameters && props.parameters.GraphQLAPIId) { -%>
268+
<% if (props.parameters && props.parameters.GraphQLAPIId) { -%>
269269
GraphQLAPIId: !Ref GraphQLAPIId
270270
GraphQLEndpoint: !Ref GraphQLEndpoint
271-
<% } -%>
271+
<% } -%>
272272
pFunctionName:
273273
!If
274274
- HasEnvironmentParameter

0 commit comments

Comments
 (0)