aws-samples / amazon-ecs-fullstack-app-terraform

Fullstack app using Amazon ECS & DevOps methodologies (IaC with Terraform and CI/CD with AWS CodePipeline)
MIT No Attribution
158 stars 156 forks source link

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

Open jasonumiker opened 3 years ago

jasonumiker commented 3 years ago

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.

nk9 commented 2 years ago

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

MadMaxGit commented 9 hours ago

╷ │ 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" {