Code Pipeline Trigger for GitHub version 2 (app-based) action via Cloudformation

0

Please how do i setup this codepipline Trigger using Cloudformation

Please help me with Cloudformation Template for this

Enter image description here

Nafiu
asked 2 months ago314 views
1 Answer
3
Accepted Answer

Hello.

You can create a connection using "AWS::CodeStarConnections::Connection", but I don't think you can do things like GitHub authentication without operating from the management console.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html

Perhaps the sample document below will be helpful for triggers.
https://docs.aws.amazon.com/codepipeline/latest/userguide/pipelines-filter-cfn.html

The above sample seems to be the content set by the parameter "Triggers" of "AWS::CodePipeline::Pipeline".
https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-triggers

profile picture
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago
  • Thank Riku, AWS::CodeStarConnections::Connection has been changed to AWS::CodeConnections::Connection

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions