Skip to content

Commit

Permalink
add pipeline param to SAM policy template
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Apr 5, 2018
1 parent 7baaac0 commit cf3661d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion template-sar.yml
Expand Up @@ -22,7 +22,8 @@ Resources:
- "CodePipeline Action Execution State Change"
Policies:
- CloudWatchPutMetricPolicy: {}
- CodePipelineReadOnlyPolicy: {}
- CodePipelineReadOnlyPolicy:
PipelineName: '*'
PipelineDashboardGenerator:
Type: 'AWS::Serverless::Function'
Properties:
Expand Down
3 changes: 2 additions & 1 deletion template.yml
Expand Up @@ -22,7 +22,8 @@ Resources:
- "CodePipeline Action Execution State Change"
Policies:
- CloudWatchPutMetricPolicy: {}
- CodePipelineReadOnlyPolicy: {}
- CodePipelineReadOnlyPolicy:
PipelineName: '*'
PipelineDashboardGenerator:
Type: 'AWS::Serverless::Function'
Properties:
Expand Down

0 comments on commit cf3661d

Please sign in to comment.