> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Go: DataTerraformRemoteStateLocalConfig

> CDKTN Core API Reference for DataTerraformRemoteStateLocalConfig in Go.

## Initializer <a name="Initializer" id="cdktn.DataTerraformRemoteStateLocalConfig.Initializer" />

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

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

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                                                 | **Type**                                | **Description**                                |
| -------------------------------------------------------------------------------------------------------- | --------------------------------------- | ---------------------------------------------- |
| <code><a href="#cdktn.DataTerraformRemoteStateLocalConfig.property.defaults">Defaults</a></code>         | <code>\*map\[string]interface\{}</code> | *No description.*                              |
| <code><a href="#cdktn.DataTerraformRemoteStateLocalConfig.property.workspace">Workspace</a></code>       | <code>\*string</code>                   | *No description.*                              |
| <code><a href="#cdktn.DataTerraformRemoteStateLocalConfig.property.path">Path</a></code>                 | <code>\*string</code>                   | Path where the state file is stored.           |
| <code><a href="#cdktn.DataTerraformRemoteStateLocalConfig.property.workspaceDir">WorkspaceDir</a></code> | <code>\*string</code>                   | (Optional) The path to non-default workspaces. |

***

### `Defaults`<sup>Optional</sup> <a name="Defaults" id="cdktn.DataTerraformRemoteStateLocalConfig.property.defaults" />

```go theme={null}
Defaults *map[string]interface{}
```

* *Type:* \*map\[string]interface\{}

***

### `Workspace`<sup>Optional</sup> <a name="Workspace" id="cdktn.DataTerraformRemoteStateLocalConfig.property.workspace" />

```go theme={null}
Workspace *string
```

* *Type:* \*string

***

### `Path`<sup>Optional</sup> <a name="Path" id="cdktn.DataTerraformRemoteStateLocalConfig.property.path" />

```go theme={null}
Path *string
```

* *Type:* \*string
* *Default:* defaults to terraform.\$\{stackId}.tfstate

Path where the state file is stored.

***

### `WorkspaceDir`<sup>Optional</sup> <a name="WorkspaceDir" id="cdktn.DataTerraformRemoteStateLocalConfig.property.workspaceDir" />

```go theme={null}
WorkspaceDir *string
```

* *Type:* \*string

(Optional) The path to non-default workspaces.

***
