Interface LocalWorkspaceOptions

Extensibility options to configure a LocalWorkspace; e.g: settings to seed and environment variables to pass through to every command.

interface LocalWorkspaceOptions {
    envVars?: {
        [key: string]: string;
    };
    program?: PulumiFn;
    projectSettings?: ProjectSettings;
    pulumiCommand?: PulumiCommand;
    pulumiHome?: string;
    secretsProvider?: string;
    stackSettings?: {
        [key: string]: StackSettings;
    };
    workDir?: string;
}

Properties

envVars?: {
    [key: string]: string;
}

Environment values scoped to the current workspace. These will be supplied to every Pulumi command.

Type declaration

  • [key: string]: string
program?: PulumiFn

The inline program PulumiFn to be used for Preview/Update operations if any. If none is specified, the stack will refer to ProjectSettings for this information.

projectSettings?: ProjectSettings

The settings object for the current project.

pulumiCommand?: PulumiCommand

The underlying Pulumi CLI.

pulumiHome?: string

The directory to override for CLI metadata

secretsProvider?: string

The secrets provider to use for encryption and decryption of stack secrets. See: https://www.pulumi.com/docs/intro/concepts/secrets/#available-encryption-providers

stackSettings?: {
    [key: string]: StackSettings;
}

A map of Stack names and corresponding settings objects.

Type declaration

workDir?: string

The directory to run Pulumi commands and read settings (Pulumi.yaml and Pulumi..yaml).

Generated using TypeDoc