Skip to content

Commit

Permalink
chore: put in actual terraform command
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Aug 25, 2023
1 parent 01a3ea2 commit bdf32c4
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions experiment/experiment-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,16 @@ stages:
displayName: Determine tag type (either test or prod)
env:
REASON: $(Build.Reason)
# - task: TerraformTaskV3@3
- task: Bash@3
- task: TerraformTaskV3@3
displayName: Terraform apply
inputs:
# provider: azurerm
# command: apply
# # (ditto the lock comment above)
# commandOptions: -input=false -lock-timeout=5m
# workingDirectory: "$(System.DefaultWorkingDirectory)/experiment"
# # service connection
# environmentServiceNameAzureRM: compiler-deployer
targetType: inline
script: echo "terraform apply"
provider: azurerm
command: apply
# (ditto the lock comment above)
commandOptions: -input=false -lock-timeout=5m
workingDirectory: "$(System.DefaultWorkingDirectory)/experiment"
# service connection
environmentServiceNameAzureRM: compiler-deployer
# only run on dev branch OR if it's a tag for test or prod
condition: |
or(
Expand Down

0 comments on commit bdf32c4

Please sign in to comment.