Options is a bag of settings that controls the behavior of previews and deployments.

interface Options {
    cacheDynamicProviders?: boolean;
    dryRun?: boolean;
    engineAddr?: string;
    legacyApply?: boolean;
    monitorAddr?: string;
    organization?: string;
    parallel?: number;
    project?: string;
    queryMode?: boolean;
    stack?: string;
    syncDir?: string;
    testModeEnabled?: boolean;
}

Properties

cacheDynamicProviders?: boolean

True if we will cache serialized dynamic providers on the program side.

dryRun?: boolean

Whether we are performing a preview (true) or a real deployment (false).

engineAddr?: string

A connection string to the engine's RPC, in case we need to reestablish.

legacyApply?: boolean

True if we will resolve missing outputs to inputs during preview.

monitorAddr?: string

A connection string to the monitor's RPC, in case we need to reestablish.

organization?: string

The name of the current organization.

parallel?: number

The degree of parallelism for resource operations (default is serial).

project?: string

The name of the current project.

queryMode?: boolean

True if we're in query mode (does not allow resource registration).

stack?: string

The name of the current stack being deployed into.

syncDir?: string

A directory containing the send/receive files for making synchronous invokes to the engine.

testModeEnabled?: boolean

True if we're in testing mode (allows execution without the CLI).

Generated using TypeDoc