Open jasonumiker opened 3 years ago
I'm seeing this as well when using terraform-aws-ecs-codepipeline.
╷
│ 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" {
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.htmlIf I get a chance I'll investigate updating this with the new version 2 action and raising it as a PR.