Skip to content

Always use job name for Terraform plan

What does this MR do?

This MR changes the Tfplan parser to always use job name for Terraform plan.

Closes #223563 (closed), #330838 (closed)

Screenshots

Result for pipeline:

plan:
  image: alpine:latest
  script:
    - echo '{"create":10,"update":5,"delete":8}' > report.json
  artifacts:
    name: tfplan-$WORKSPACE-$CI_JOB_ID
    reports:
      terraform: report.json
  parallel:
    matrix:
      - WORKSPACE: [workspace1, workspace2, workspace3]
Before After
tfplan_before tfplan_after

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Krzysztof Dąbrowski

Merge request reports