Skip to main content

Initializer

import cdktn

cdktn.DataTerraformRemoteStateLocalConfig(
  defaults: typing.Mapping[typing.Any] = None,
  workspace: str = None,
  path: str = None,
  workspace_dir: str = None
)

Properties

NameTypeDescription
defaultstyping.Mapping[typing.Any]No description.
workspacestrNo description.
pathstrPath where the state file is stored.
workspace_dirstr(Optional) The path to non-default workspaces.

defaultsOptional

defaults: typing.Mapping[typing.Any]
  • Type: typing.Mapping[typing.Any]

workspaceOptional

workspace: str
  • Type: str

pathOptional

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

workspace_dirOptional

workspace_dir: str
  • Type: str
(Optional) The path to non-default workspaces.