Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created January 6, 2020 04:37
Show Gist options
  • Select an option

  • Save KyMidd/8fe120f1b24279155c3b9d2d9f46349b to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/8fe120f1b24279155c3b9d2d9f46349b to your computer and use it in GitHub Desktop.
- 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment