Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created March 23, 2021 18:28
Show Gist options
  • Select an option

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

Select an option

Save KyMidd/a78cadbd86c431f7987f89ffcfc0997f to your computer and use it in GitHub Desktop.
AzureDevOps_TF_AutomatedTestAndDeploy example of stage, job, task
stages:
- stage: Terraform_Plan <-- This is a stage definition
jobs:
- deployment: Terraform_Plan <-- This is a job definition
displayName: Terraform_Plan
pool: $(pool)
workspace:
clean: all
continueOnError: 'false'
environment: 'TerraformPlan_Environment'
strategy:
runOnce:
deploy:
steps:
- checkout: self <-- This is a task definition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment