Skip to main content
A set of Terraform Cloud workspace tags. You will be able to use this working directory with any workspaces that have all of the specified tags, and can use the terraform workspace commands to switch between them or create new workspaces. New workspaces will automatically have the specified tags. This option conflicts with name.

Initializers

import { TaggedCloudWorkspaces } from 'cdktn'

new TaggedCloudWorkspaces(tags: string[], project?: string)
NameTypeDescription
tagsstring[]No description.
projectstringNo description.

tagsRequired

  • Type: string[]

projectOptional

  • Type: string

Methods

NameDescription
toTerraformNo description.
toHclTerraformNo description.

toTerraform

public toTerraform(): any

toHclTerraform

public toHclTerraform(): any

Properties

NameTypeDescription
tagsstring[]No description.
projectstringNo description.

tagsRequired

public readonly tags: string[];
  • Type: string[]

projectOptional

public readonly project: string;
  • Type: string