From b8bc2613d4aeaf94ca39602705ac77dbbb1b6441 Mon Sep 17 00:00:00 2001 From: alinadima Date: Mon, 21 Aug 2023 16:13:04 +0200 Subject: [PATCH] And lint again --- demos-pipeline/lib/lib/demo-pipeline.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/demos-pipeline/lib/lib/demo-pipeline.ts b/demos-pipeline/lib/lib/demo-pipeline.ts index 7da8d3e..b7766a4 100644 --- a/demos-pipeline/lib/lib/demo-pipeline.ts +++ b/demos-pipeline/lib/lib/demo-pipeline.ts @@ -167,7 +167,6 @@ def handler(event, context): } ); - const pipelineCreateRule = new events.Rule(this, "OnPipelineStartRule", { eventPattern: { detailType: ["CodePipeline Pipeline Execution State Change"], @@ -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. *