You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
It's not currently possible to skip approval and deployment if there are no changes in the Terraform plan, because of limitations in multi-stage pipelines (stages cannot be conditioned on the outputs of previous stages). You could cancel the pipeline (through the REST API) in that case, but that would prevent extending the pipeline to include activities beyond Terraform.
Other parts of ADO documentation only cover output sharing inside the job and stage only.
Edit: I did some experimentation and using script output variable as an input of stage condition is impossible. Therefore there will be a deployment stage that skips one or multiple (deployment) jobs.
Actually this is now possible!
Here is a sample pipeline that can do that:
And here is a video I made for that (skipping terraform apply, but not across stages here) :
Video: Skip terraform apply in Azure DevOps pipelines
The text was updated successfully, but these errors were encountered: