Is AWS Pipeline v2 supported?

Hello,
i’d like to configure aws_pipeline to be triggered by changes to a specified tags. This specific functionality available in the aws pipeline version 2. V1 only works with a predetermined branch name.

How do i change the default (v1) to V2?

The AWS API has a "pipelineType " argument, that can be set to either v1 or v2 at the pipeline creation (PipelineDeclaration - CodePipeline)

If it helps, The repos are over on Bitbucket and i use Codestar connection.

REF:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/codepipeline

Appreciate any ideas…

I don’t use V2 pipelines myself, but support for this appears to have been released in version 5.32.0 of the AWS provider. See f/aws_codepipeline add support for pipeline_type and variable by neruneruo · Pull Request #34841 · hashicorp/terraform-provider-aws · GitHub and f/aws_codepipeline add support for pipeline_type and variable by neruneruo · Pull Request #34841 · hashicorp/terraform-provider-aws · GitHub.

1 Like