From 6deb6672421dab3da22ee6a664e67d916160f19b Mon Sep 17 00:00:00 2001 From: ebosas Date: Sat, 13 Nov 2021 10:49:27 +0200 Subject: [PATCH] Test pipeline [BuildAll] --- deployments/pipeline-infrastructure.yml | 2 +- deployments/pipeline-new.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/deployments/pipeline-infrastructure.yml b/deployments/pipeline-infrastructure.yml index ba340f4..f7345c2 100644 --- a/deployments/pipeline-infrastructure.yml +++ b/deployments/pipeline-infrastructure.yml @@ -38,7 +38,7 @@ Resources: # Allow codepipeline to put artifacts in the S3 bucket # as well as get artifacts back out of it. - Resource: - - !Sub arn:aws:s3:::${ArtifactBucket}/* + - !Sub arn:aws:s3:::${ArtifactBucket}* Effect: Allow Action: - s3:PutObject diff --git a/deployments/pipeline-new.yml b/deployments/pipeline-new.yml index 5d3175e..f4113c5 100644 --- a/deployments/pipeline-new.yml +++ b/deployments/pipeline-new.yml @@ -353,7 +353,7 @@ Resources: - s3:GetObject - s3:GetObjectVersion - s3:GetBucketVersioning - - s3:* + - s3:PutObjectAcl # Allow codepipeline to build code builds - Resource: "*" Effect: Allow @@ -438,7 +438,6 @@ Resources: - "codepipeline:*" - "events:*" - "ecs:*" - # - "s3:*" Resource: "*" #-----------------------------------------------------------------------------#