1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Looking at the examples in the documentation, it looks like it can be used with V2 as well.
An example from the document is as follows.
You may want to check if "SourceActionName" is correct.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#aws-resource-codepipeline-pipeline--examples
Triggers:
- ProviderType: CodeStarSourceConnection
GitConfiguration:
Push:
- Tags:
Excludes:
- beta-*
Includes:
- release-*
- Branches:
Excludes:
- beta-*
Includes:
- release-*
FilePaths:
Includes:
- projectA/**
- common/**/*.js
Excludes:
- '**/README.md'
- '**/LICENSE'
- '**/CONTRIBUTING.md'
PullRequest:
- Branches:
Excludes:
- stable-v1-*
Includes:
- stable-*
- release-*
FilePaths:
Includes:
- projectA/**
- common/**/*.js
Excludes:
- '**/README.md'
- '**/LICENSE'
- '**/CONTRIBUTING.md'
Events:
- CLOSED
SourceActionName: !Ref SourceActionName
Relevant content
asked 7 years ago
asked a year ago
- AWS OFFICIALUpdated 2 years ago
