Properties

Methods

Properties

command: string
version: null | SemVer

Methods

  • Get a new Pulumi instance that uses the installation in opts.root. Defaults to using the pulumi binary found in $PATH if no installation root is specified. If opts.version is specified, it validates that the CLI is compatible with the requested version and throws an error if not. This validation can be skipped by setting the environment variable PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK or setting opts.skipVersionCheck to true. Note that the environment variable always takes precedence. If it is set it is not possible to re-enable the validation with opts.skipVersionCheck.

    Parameters

    Returns Promise<PulumiCommand>

Generated using TypeDoc