Skip to main content
The name of a single Terraform Cloud workspace. You will only be able to use the workspace specified in the configuration with this working directory, and cannot manage workspaces from the CLI (e.g. terraform workspace select or terraform workspace new).

Initializers

import cdktn

cdktn.NamedCloudWorkspace(
  name: str,
  project: str = None
)
NameTypeDescription
namestrNo description.
projectstrNo description.

nameRequired

  • Type: str

projectOptional

  • Type: str

Methods

NameDescription
to_terraformNo description.
to_hcl_terraformNo description.

to_terraform

def to_terraform() -> typing.Any

to_hcl_terraform

def to_hcl_terraform() -> typing.Any

Properties

NameTypeDescription
namestrNo description.
projectstrNo description.

nameRequired

name: str
  • Type: str

projectOptional

project: str
  • Type: str