A pipeline stage deploys infrastructure using Terraform and the next stage deploys an application. The application stage must use the Storage Account connection string output by Terraform. How should you pass this value?
-
A
Hard-code the connection string in the application stage YAML
-
B
Use terraform output to write the value to a pipeline variable via ##vso[task.setvariable]
-
C
Store the Terraform state and have the app stage read it directly
-
D
Pass it as a Terraform variable in the next stage