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 "github.com/open-constructs/cdk-terrain-go/cdktn"

cdktn.NewNamedCloudWorkspace(name *string, project *string) NamedCloudWorkspace
NameTypeDescription
name*stringNo description.
project*stringNo description.

nameRequired

  • Type: *string

projectOptional

  • Type: *string

Methods

NameDescription
ToTerraformNo description.
ToHclTerraformNo description.

ToTerraform

func ToTerraform() interface{}

ToHclTerraform

func ToHclTerraform() interface{}

Properties

NameTypeDescription
Name*stringNo description.
Project*stringNo description.

NameRequired

func Name() *string
  • Type: *string

ProjectOptional

func Project() *string
  • Type: *string