Skip to content

Commit

Permalink
Issue #28: remove duplicate stage
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Feb 6, 2024
1 parent 1eb468a commit f06006a
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions apply-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ stages:
displayName: 'Terraform Apply'
pool:
vmImage: 'ubuntu-latest'
environment:
name: 'ProductionApproval'
resourceType: 'virtualMachine'
environment: 'ProductionApproval'
strategy:
runOnce:
deploy:
Expand All @@ -61,26 +59,3 @@ stages:
workingDirectory:
'$(System.DefaultWorkingDirectory)/terraform'
environmentServiceNameAzureRM: '$(serviceConnectionName)'
- stage: Apply
displayName: 'Apply Terraform Plan'
dependsOn: InitAndPlan
condition: succeeded()
- deployment: TerraformApply
displayName: 'Terraform Apply'
pool:
vmImage: 'ubuntu-latest'
dependsOn: TerraformInitPlan
condition: succeeded()
environment: ProductionApproval
strategy:
runOnce:
deploy:
steps:

- task: TerraformTaskV1@0
displayName: Terra Apply
inputs:
provider: 'azurerm'
command: 'apply'
workingDirectory: '$(System.DefaultWorkingDirectory)/terraform'
environmentServiceNameAzureRM: '$(serviceConnectionName)'

0 comments on commit f06006a

Please sign in to comment.