diff --git a/template-sar.yml b/template-sar.yml index c2149e0..24b6d3c 100644 --- a/template-sar.yml +++ b/template-sar.yml @@ -22,7 +22,8 @@ Resources: - "CodePipeline Action Execution State Change" Policies: - CloudWatchPutMetricPolicy: {} - - CodePipelineReadOnlyPolicy: {} + - CodePipelineReadOnlyPolicy: + PipelineName: '*' PipelineDashboardGenerator: Type: 'AWS::Serverless::Function' Properties: diff --git a/template.yml b/template.yml index aa6c357..4b73832 100644 --- a/template.yml +++ b/template.yml @@ -22,7 +22,8 @@ Resources: - "CodePipeline Action Execution State Change" Policies: - CloudWatchPutMetricPolicy: {} - - CodePipelineReadOnlyPolicy: {} + - CodePipelineReadOnlyPolicy: + PipelineName: '*' PipelineDashboardGenerator: Type: 'AWS::Serverless::Function' Properties: