Skip to content
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

Warning re: the CodePipeline GitHub v1 action provider being deprecated #6

Open
jasonumiker opened this issue Sep 22, 2021 · 2 comments

Comments

@jasonumiker
Copy link

As an FYI when I deploy this I get the following warning:


│ Warning: The CodePipeline GitHub version 1 action provider is deprecated.

│ with module.codepipeline.aws_codepipeline.aws_codepipeline,
│ on Modules/CodePipeline/main.tf line 24, in resource "aws_codepipeline" "aws_codepipeline":
│ 24: provider = "GitHub"

│ Use a GitHub version 2 action (with a CodeStar Connection aws_codestarconnections_connection) instead. See
https://docs.aws.amazon.com/codepipeline/latest/userguide/update-github-action-connections.html

If I get a chance I'll investigate updating this with the new version 2 action and raising it as a PR.

@jasonumiker jasonumiker changed the title Warning re: the GitHub version 1 action provider being deprecated Warning re: the CodePipeline GitHub v1 action provider being deprecated Sep 22, 2021
@nk9
Copy link

nk9 commented Jan 21, 2022

I'm seeing this as well when using terraform-aws-ecs-codepipeline.

@MadMaxGit
Copy link


│ Warning: The CodePipeline GitHub version 1 action provider is deprecated.

│ with module.codepipeline.aws_codepipeline.aws_codepipeline,
│ on Modules\CodePipeline\main.tf line 24, in resource "aws_codepipeline" "aws_codepipeline":
│ 24: provider = "GitHub"

│ Use a GitHub version 2 action (with a CodeStar Connection aws_codestarconnections_connection) instead. See https://docs.aws.amazon.com/codepipeline/latest/userguide/update-github-action-connections.html


│ Error: Error creating CodePipeline: InvalidActionDeclarationException: ActionType (Category: 'Source', Provider: 'GitHub', Owner: 'ThirdParty', Version: '2') in action 'Source' is not available in region 'US_EAST_1'

│ with module.codepipeline.aws_codepipeline.aws_codepipeline,
│ on Modules\CodePipeline\main.tf line 8, in resource "aws_codepipeline" "aws_codepipeline":
│ 8: resource "aws_codepipeline" "aws_codepipeline" {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants