How to create pipeline variables from terraform output
I show you how to transform terraform output into pipeline variables from script Intro This is how to set pipeline variable from script. You can read more here echo "##vso[task.setvariable variable=varname]value" Terraform output can be outputted as json content. terraform output -json > sample.json Suppose the terraform output looks like below: { "app_service" : { "name" : "myapp" , "fqdn" : "myapp.azurewebsites.net" } , "database" : { "name" : "example" , "server_fqdn" : "myserver.database.windows.net" , "connection_string" : "server=myserver.database.windows.net, initial catalog=example" } , "application_insights_key" : "12345" } You have to think how to transform json representation into pipeline variables. The solution has to work with a...