azure-pipelines-tasks-terraform
azure-pipelines-tasks-terraform copied to clipboard
Expose path or url to publishPlanResult files
The content of the publishPlanResult file is useful in determining what resources are actually going to be changed. In some cases, users would like access to this file to parse the content and emit warnings for changes to critical infrastructure. Using this file for this purpose over the JSON output via terraform show
is favored due to the fact it redacts sensitive values. The JSON output from show does not.
Important: This should also consider that multiple publishPlanResult files could be produced within a single pipeline. The solution should provide access to all published plans.
cc @DenWin Replacing #34 with this issue to focus on providing access to publishPlanResult files
If for terraform plan
the -out
-argument is provided this path should be returned similarly to the publishPlanResult-file.