Interface GCSRemoteStateReferenceArgs

The configuration options for a Terraform Remote State stored in the Google Cloud Storage backend.

interface GCSRemoteStateReferenceArgs {
    backendType: "gcs";
    bucket: Input<string>;
    credentials?: any;
    encryptionKey?: any;
    prefix?: any;
    workspace?: any;
}

Properties

backendType: "gcs"

A constant describing the name of the Terraform backend, used as the discriminant for the union of backend configurations.

bucket: Input<string>

The name of the Google Cloud Storage bucket.

credentials?: any

Local path to Google Cloud Platform account credentials in JSON format. Sourced from GOOGLE_CREDENTIALS in the environment if unset. If no value is provided Google Application Default Credentials are used.

encryptionKey?: any

A 32 byte, base64-encoded customer supplied encryption key used to encrypt the state. Sourced from GOOGLE_ENCRYPTION_KEY in the environment, if unset.

prefix?: any

Prefix used inside the Google Cloud Storage bucket. Named states for workspaces are stored in an object named <prefix>/<name>.tfstate.

workspace?: any

The Terraform workspace from which to read state.

Generated using TypeDoc