Last active
January 7, 2020 19:33
-
-
Save KyMidd/a4adb0852a5b86ab6736ab74b5ae8ec0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - stage: Terraform_Apply | |
| jobs: | |
| - deployment: Terraform_Apply | |
| displayName: Terraform Apply | |
| pool: $(pool) | |
| continueOnError: 'false' | |
| # Run this stage if previous stage(s) succeeded and build reason ISN'T a pull request | |
| condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) | |
| environment: 'YamlTerraformApplyEnvironment' | |
| strategy: | |
| runOnce: | |
| deploy: | |
| steps: | |
| - checkout: self | |
| - task: charleszipp.azure-pipelines-tasks-terraform.azure-pipelines-tasks-terraform-installer.TerraformInstaller@0 | |
| displayName: 'Install Terraform' | |
| inputs: | |
| terraformVersion: $(terraform_version) | |
| - task: DownloadSecureFile@1 | |
| (etc.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment