Skip to main content

Reference for the teleport_workload_cluster Terraform data-source

Report an Issue

This page lists the supported values of the teleport_workload_cluster data source of the Teleport Terraform provider.

Schema​

Required​

Optional​

  • sub_kind (String)

Nested Schema for metadata​

Required:

  • name (String) name is an object name.

Optional:

  • description (String) description is object description.
  • expires (String) expires is a global expiry time header can be set on any resource in the system.
  • labels (Map of String) labels is a set of labels.

Nested Schema for spec​

Optional:

Nested Schema for spec.bot​

Optional:

  • name (String) name of the bot, token, and role that will be created

Nested Schema for spec.regions​

Optional:

  • name (String) name is the region's name

Nested Schema for spec.token​

Optional:

  • allow (Attributes List) allow defines the AWS Accounts and ARNs to allow joining from (see below for nested schema)
  • join_method (String) join_method is type of join method to allow for the token

Nested Schema for spec.token.allow​

Optional:

  • aws_account (String)
  • aws_arn (String)