Skip to content

Instantly share code, notes, and snippets.

@rudolphjacksonm
Last active June 8, 2020 19:45
Show Gist options
  • Save rudolphjacksonm/060cb6085c81ba435fd969b63a2d856b to your computer and use it in GitHub Desktop.
Save rudolphjacksonm/060cb6085c81ba435fd969b63a2d856b to your computer and use it in GitHub Desktop.
---
...
stages:
- stage:
displayName: 'Terraform Plan'
jobs:
- job: TFPlan
variables: # <--Variables are now scoped to this job and all steps within it
- template: vars/dev_vars.yml
steps:
- task: Cache@2
displayName: 'Register TF cache'
inputs:
key: terraform | $(Agent.OS) | "$(Build.BuildNumber)" | $(Build.SourceVersion) | $(tfComponent) | "$(tfVarFileName)"
path: $(tfExecutionDir)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment