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