Skip to main content

Initializer

import { DataTerraformRemoteStateLocalConfig } from 'cdktn'

const dataTerraformRemoteStateLocalConfig: DataTerraformRemoteStateLocalConfig = { ... }

Properties

NameTypeDescription
defaults{[ key: string ]: any}No description.
workspacestringNo description.
pathstringPath where the state file is stored.
workspaceDirstring(Optional) The path to non-default workspaces.

defaultsOptional

public readonly defaults: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

workspaceOptional

public readonly workspace: string;
  • Type: string

pathOptional

public readonly path: string;
  • Type: string
  • Default: defaults to terraform.${stackId}.tfstate
Path where the state file is stored.

workspaceDirOptional

public readonly workspaceDir: string;
  • Type: string
(Optional) The path to non-default workspaces.