Quick Notes170 words

Reusable pipeline elements — quick notes

Reusable elements — quick notes

ElementYAML?Notes
Task groupNO — classic onlyUse templates instead
Template (template:)YesComposes — inserts content
Template (extends:)YesConstrains structure and accepted inputs after adoption
Required template checkResource/environment checkForces a consuming pipeline to extend a named template
VariablesYesPipeline / stage / job scope
Variable groupYesShared across pipelines, from the Library
Key Vault-linked groupYesVariable group linked to Azure Key Vault
Security factDetail
Secret variables in a groupProtected resources — approvals, checks, pipeline permissions apply
Non-secret variablesNot limited by approvals, checks or permissions

Traps

  1. "Use a task group in your YAML pipeline" — not supported.
  2. An approval on a variable group protects the secret variables only.

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free