diff --git a/apply-terraform.yml b/apply-terraform.yml index 5d68adeb..1431d1cb 100644 --- a/apply-terraform.yml +++ b/apply-terraform.yml @@ -46,9 +46,7 @@ stages: displayName: 'Terraform Apply' pool: vmImage: 'ubuntu-latest' - environment: - name: 'ProductionApproval' - resourceType: 'virtualMachine' + environment: 'ProductionApproval' strategy: runOnce: deploy: @@ -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)'