@pulumi/pulumi - v3.246.0
    Preparing search index...

    Class PulumiCommand

    Index

    Properties

    Methods

    Properties

    command: string
    version: SemVer | null

    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>