Skip to main content

Initializer

import "github.com/open-constructs/cdk-terrain-go/cdktn"

&cdktn.DataTerraformRemoteStateLocalConfig {
	Defaults: *map[string]interface{},
	Workspace: *string,
	Path: *string,
	WorkspaceDir: *string,
}

Properties

NameTypeDescription
Defaults*map[string]interface{}No description.
Workspace*stringNo description.
Path*stringPath where the state file is stored.
WorkspaceDir*string(Optional) The path to non-default workspaces.

DefaultsOptional

Defaults *map[string]interface{}
  • Type: *map[string]interface{}

WorkspaceOptional

Workspace *string
  • Type: *string

PathOptional

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

WorkspaceDirOptional

WorkspaceDir *string
  • Type: *string
(Optional) The path to non-default workspaces.