Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 839 Bytes

Docs.md

File metadata and controls

17 lines (11 loc) · 839 Bytes

Pulumi Installer Task for Azure DevOps pipelines.

This extension is to install the Pulumi cli onto an Azure DevOps agent.

This allows you to pick a specific version of the cli to install. By default it will use the latest from https://www.pulumi.com/latest-version

Using the task

- task: UsePulumi@0
  inputs:
    version: 2.12.0 # Optional, defaults to 'latest' if not set

This will then download and extract the required version of Pulumi into the agent.ToolsDirectory which is cached on self-hosted agents for future runs.

Additionally the PULUMI_HOME variable is set to work from a temporary directory to ensure existing stacks/credentials are not recycled unintentionally.