-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CodePipeline GitHub version 2 source action support #16042
Comments
Does this require anything on the provider side? I've been using it successfully for a couple weeks now. FWIW, I'm using the default KMS encryption key. Here's my configuration: stage {
name = "Source"
action {
name = "Source"
category = "Source"
owner = "AWS"
provider = "CodeStarSourceConnection"
version = "1"
output_artifacts = []
configuration = {
ConnectionArn = var.codestar_connection_arn
FullRepositoryId = "${var.github_organization}/${var.github_repository}"
BranchName = var.github_branch
OutputArtifactFormat = "CODE_ZIP"
}
}
} |
For this I think you would need to create the CodeStar Resource and then link it to CodePipeline. It's in the works: |
Can confirm the code provided by @nc-wittj works. With the new codestar connection also added to the latest version this setup works like a charm. (Too bad you still have to manually "approve" the connection) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
Could you add support for AWS CodePipeline GitHub version 2 source action support?
https://docs.aws.amazon.com/codepipeline/latest/userguide/update-github-action-connections.html
Per AWS, this is now the recommended way to connect to GitHub over version 1.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: