Skip to content

Commit

Permalink
chore: test out removing service connection
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Aug 22, 2023
1 parent 42ef022 commit 79bc6e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions experiment-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ stages:
# https://developer.hashicorp.com/terraform/tutorials/automation/automate-terraform#automated-terraform-cli-workflow
commandOptions: -input=false
# service connection
backendServiceArm: deployer
# backendServiceArm: deployer
# needs to match main.tf
backendAzureRmResourceGroupName: courtesy-cards-eligibility-terraform
backendAzureRmStorageAccountName: courtesycardsterraform
Expand All @@ -69,7 +69,7 @@ stages:
commandOptions: select $(workspace)
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform"
# service connection
environmentServiceNameAzureRM: deployer
# environmentServiceNameAzureRM: deployer
- task: TerraformTaskV3@3
displayName: Terraform plan
inputs:
Expand All @@ -80,7 +80,7 @@ stages:
commandOptions: -input=false -lock-timeout=5m
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform"
# service connection
environmentServiceNameAzureRM: deployer
# environmentServiceNameAzureRM: deployer
# the plan is done as part of the apply (below), so don't bother doing it twice
condition: notIn(variables['Build.SourceBranchName'], 'dev', 'test', 'prod')
- task: TerraformTaskV3@3
Expand All @@ -92,6 +92,6 @@ stages:
commandOptions: -input=false -lock-timeout=5m
workingDirectory: "$(System.DefaultWorkingDirectory)/terraform"
# service connection
environmentServiceNameAzureRM: deployer
# environmentServiceNameAzureRM: deployer
# only run on certain branches
condition: in(variables['Build.SourceBranchName'], 'dev', 'test', 'prod')

0 comments on commit 79bc6e7

Please sign in to comment.