Saltar al contenido

Availability of GitHub Source Action Version 2 in AWS CodePipeline by Region?

0

I’m trying to set up a pipeline in AWS CodePipeline using the GitHub Source Action with Version 2. However, when deploying in the us-east-1 region, I encountered the following error: after running my yaml template CodePipeline: Type: 'AWS::CodePipeline::Pipeline' Properties: RoleArn: !GetAtt CodePipelineServiceRole.Arn ArtifactStore: Type: S3 Location: !Ref WebsiteBucket Stages: - Name: Source Actions: - Name: Source ActionTypeId: Category: Source Owner: ThirdParty Provider: GitHub ** Version: 2** //here is my error OutputArtifacts: - Name: SourceOutput Configuration: Owner: !Ref GitHubUser Repo: !Ref GitHubRepo Branch: !Ref GitHubBranch OAuthToken: !Ref GitHubToken RunOrder: 1 Enter image description here

is it not possible to create github with version2?

preguntada hace 2 años302 visualizaciones

1 Respuesta
0

When you configure a GitHub version 2 source action in AWS CloudFormation, you do not include any GitHub token information or add a webhook resource. You configure a connections resource as shown in AWS::CodeStarConnections::Connection in the AWS CloudFormation User Guide.

See the relevant Update a GitHub version 1 source action to a GitHub version 2 source action documentation.

AWS
EXPERTO

respondido hace 2 años

EXPERTO

revisado hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.