Ir para o conteúdo

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?

feita há 2 anos302 visualizações

1 Resposta
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
ESPECIALISTA

respondido há 2 anos

ESPECIALISTA

avaliado há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.