Skip to main content

Initializer

using Io.Cdktn;

new DataTerraformRemoteStateLocalConfig {
    System.Collections.Generic.IDictionary<string, object> Defaults = null,
    string Workspace = null,
    string Path = null,
    string WorkspaceDir = null
};

Properties

NameTypeDescription
DefaultsSystem.Collections.Generic.IDictionary< string, object >No description.
WorkspacestringNo description.
PathstringPath where the state file is stored.
WorkspaceDirstring(Optional) The path to non-default workspaces.

DefaultsOptional

public System.Collections.Generic.IDictionary<string, object> Defaults { get; set; }
  • Type: System.Collections.Generic.IDictionary< string, object >

WorkspaceOptional

public string Workspace { get; set; }
  • Type: string

PathOptional

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

WorkspaceDirOptional

public string WorkspaceDir { get; set; }
  • Type: string
(Optional) The path to non-default workspaces.