Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipeline of 2 steps, same deployment, second step is manual, shared artifacts can't be created.

eugene_maksak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 11, 2025

I need a simple pipeline that does the following:

1. Runs terraform plan and saves the plan as an artifact. It uses state file from azure storage. Thus needs to know deployment where credential variables are defined

2. Takes the plan file from step #1 and runs terraform apply. 

  2.1. It has to be manual step because after step #1 I want to review the plan and decide where to apply it or not.

  2. 1. it needs to use the same deployment as step #1 due to credentials to Azure storage.

 

Sounds quite simple but I along the way implementing it I face limitations that I can overcome:

1. I tried to use just 2 steps. But in such case I can specify deployment only for step 1, not for step 2.

2. I tried to use 1 stage and 2 steps in it. But in this case I can not mark step #2 as manual.

3. I can't create 2 different pipelines because in such case artifacts are not shared across them

4. I tried to use 2 stages. 1 for plan and another for apply. But in this case I can not specify same deployment for both stages.

 

I'm out of ideas. Limitations are everywhere. Especially I do not understand why it is so for #4.

Please suggest.

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events