Skip to content

Commit

Permalink
And lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
alinadima committed Aug 21, 2023
1 parent 9613838 commit b8bc261
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions demos-pipeline/lib/lib/demo-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ def handler(event, context):
}
);


const pipelineCreateRule = new events.Rule(this, "OnPipelineStartRule", {
eventPattern: {
detailType: ["CodePipeline Pipeline Execution State Change"],
Expand Down Expand Up @@ -213,14 +212,12 @@ def handler(event, context):
resources: [props.imageRepo.repositoryArn],
});
fnOnPipelineCreate.role?.attachInlinePolicy(
new iam.Policy(this, "CheckOSAndStop", {
statements: [stopPipelinePolicy, ecrPolicy],
})
new iam.Policy(this, "CheckOSAndStop", {
statements: [stopPipelinePolicy, ecrPolicy],
})
);
}



/**
* Adds an EFS FileSystem to the VPC and SecurityGroup.
*
Expand Down

0 comments on commit b8bc261

Please sign in to comment.