Closed Apholisha closed 2 years ago
You should use V3@3 not V1@3 br Manuel
Ok. Thanks.
This is still not working - I'm using V3@3 and getting the same error.
Sorry I misunderstood, in V3, Apply no longer set the 'jsonOutputVariablesPath' variable. You need to use the output command for that. The reason for this is we wanted Apply to be clean and not hide functionality like executing terraform output command without showing it in the log. look at: https://github.com/microsoft/azure-pipelines-terraform/tree/main/Tasks/TerraformTask/TerraformTaskV3#output-variables
So if you wish to have it the old way, V2 is your option.
Br Manuel
Thanks!
Glad I found this issue as this took me way longer to figure out than it should of. The tool tip still leads one to believe the variables are only set with Apply so that may be something to address in a future release:
In V3 output variables are no longer there.
example:
This fails with
I've tested with V2 of the apply task and that worked