Skip to content

[Bug]: Azure DevOps CI/CD pipeline rendering not working #665

Description

@darrens280

What happened?

Hi. I'm really looking to utilise this tool for improved visibility / readability of our Terraform changes in our CI/CD pipelines. I have successfully injected the EXE into our Windows Server 2022 Azure DevOps agent VMs, and can successfully run a report, however the rendering is not great, and is basically just showing the markdown. I have also tried the Microsoft supported method to output the tfplan2md markdown file as an Extension of the pipeline, but the tables are not formatting correctly. See screenshots below. I am using the following command: terraform show -json $(planfile) | tfplan2md --template default --details auto --render-target azuredevops

How to reproduce

TFPLAN2MD v1.45.2
Terraform v1.15.4

I am using the following command: terraform show -json $(planfile) | tfplan2md --template default --details auto --render-target azuredevops

Where are you viewing the output?

Azure DevOps

Relevant output

This is the output in the pipeline:
image

This is what the Pipeline Extensions gives using ##vso[task.uploadsummary]:
image

Additional context

Note, this is not currently being consumed in Azure DevOps Pull Requests, just normal CI/CD pipelines for now, on Windows-based, self-hosted Azure DevOps agent VMs, to improve readability of Terraform PLAN outputs to engineers, before changes are applied.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions