aws-deployment-framework icon indicating copy to clipboard operation
aws-deployment-framework copied to clipboard

[Bug]: Long and similar pipelines names in same deployment map prevents pipeline from being created

Open avolip opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

When pipelines with similar names that differ after the 30th character are defined in the same deployment map the ADFPipelineManagementStateMachine state machine is not triggered correctly.

Consider the following deployment map mydeploymentmap.yml

pipelines:
  - name: kpi-dataplatform-qwerty-logistic
    default_providers:
      source:
        provider: codecommit
        properties:
          account_id: [...]
      build:
        provider: codebuild
        properties:
          image: "STANDARD_5_0"
          environment_variables:
            CONTAINS_TRANSFORM: False

  - name: kpi-dataplatform-qwerty-logistic-dev
    default_providers:
      source:
        provider: codecommit
        properties:
          repository: kpi-dataplatform-kupit-logistic
          branch: dev
          account_id: [...]
      build:
        provider: codebuild
        properties:
          image: "STANDARD_5_0"
          environment_variables:
            CONTAINS_TRANSFORM: False

Expected Behavior

ADFPipelineManagementStateMachine gets executed twice and two CodePipeline pipelines get created.

Current Behavior

ADFPipelineManagementStateMachine gets executed only once and only the first pipeline gets created

Steps To Reproduce

Deploy the provided example deployment map

Possible Solution

No response

Additional Information/Context

No response

ADF Version

3.2.0

avolip avatar Jun 26 '23 13:06 avolip