Skip to content

Commit

Permalink
fix: syntax for output variable, put back job variable
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Aug 29, 2023
1 parent 9c47922 commit 4b13800
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions experiment/experiment-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ stages:
or(
in(variables['Build.SourceBranchName'], 'dev'),
or(
eq(variables['tag_type'], 'test'),
eq(variables['tag_type'], 'prod')
eq(variables['setvars.tag_type'], 'test'),
eq(variables['setvars.tag_type'], 'prod')
)
)
- stage: TerraformApply
Expand All @@ -119,7 +119,8 @@ stages:
condition: succeeded()
environment: Approval
variables:

- name: workspace
value: $[ stageDependencies.TerraformPlan.Plan.outputs['setvars.workspace'] ]
- name: tag_type
value: $[ stageDependencies.TerraformPlan.Plan.outputs['setvars.tag_type'] ]
strategy:
Expand Down

0 comments on commit 4b13800

Please sign in to comment.