Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Green Location

Green Location

Nikhil Samant

|
5 installs
| (0) | Free
Helps you finding the less carbon emitting location

Green Location

Enable users to dynamically choose location variable based on current grid intensity by creating an extension task that queries the Carbon Aware SDK for you.

The extension will set an output variable bestLocation. This variable can directly be used by ARM deployment task as an input for the Resource location. If you are defining multi-job pipeline, you can use the below code to set the location input variable.

$[ dependencies.JOB_NAME.outputs['GREEN_LOCATION_TASK_NAME.bestLocation'] ]

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft