1
0
mirror of https://github.com/ebosas/microservices.git synced 2025-08-24 20:08:55 +02:00

Test CodeStar connection

This commit is contained in:
ebosas
2021-11-11 20:54:20 +02:00
parent 63145507c9
commit 5d43f92224

View File

@@ -58,8 +58,7 @@ Resources:
- s3:GetObject
- s3:GetObjectVersion
- s3:GetBucketVersioning
# For codestar connection to work
- s3:PutObjectAcl
- s3:PutObjectAcl # for codestar connection
# Allow codepipeline to build code builds
- Resource: "*"
Effect: Allow
@@ -169,11 +168,12 @@ Resources:
Owner: AWS
Version: 1
Provider: CodeStarSourceConnection
# https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodestarConnectionSource.html
Configuration:
ConnectionArn: !Ref CodeStarConnection
BranchName: !Ref GitHubBranch
FullRepositoryId: !Sub ${GitHubUser}/${GitHubRepo}
# PollForSourceChanges: false
DetectChanges: false # only manually
OutputArtifacts:
- Name: Source
RunOrder: 1