AWS recommends that CodePipeline connections to third party services like GitHub and BitBucket should be done using CodeStar Connections. It would be nice if Terraform supported this.
Related:
Please note that in this case we'll expect these resources to be named aws_codestarconnections_XXX to follow the conventions in the Contributing Guide.
The GitHub version 1 action is not recommended and will soon no longer be supported.
Sounds like this will be the only supported connection type soon.
Might be nice to have a codestar_connection data source as well so that you could look them up by name and reference their ARN in CodePipeline actions.
I've started adding CodeStar Connections to TF so please upvote the PR below for the faster review! 馃檹
https://github.com/terraform-providers/terraform-provider-aws/pull/15960
Added the second part of the PR: https://github.com/hashicorp/terraform-provider-aws/pull/15990
I'm going to work on aws_codestarconnections_host once the PR above is merged!
Most helpful comment
Added the second part of the PR: https://github.com/hashicorp/terraform-provider-aws/pull/15990
I'm going to work on
aws_codestarconnections_hostonce the PR above is merged!