{"token_count": 566}

# Reference for the teleport\_beams\_config Terraform resource

This page lists the supported values of the teleport\_beams\_config resource of the Teleport Terraform provider.

## Example Usage

```
# Beams config

resource "teleport_beams_config" "example" {
  version = "v1"

  metadata = {
    name = "beams-config"
  }

  spec = {
    llm = {
      anthropic = {
        app_name = "my-anthropic"
      }
      openai = {
        app_name = "my-openai"
      }
    }
  }
}

```

## Schema

### Required

- `version` (String) Version is the version of the resource. Always "v1".

### Optional

- `metadata` (Attributes) Metadata about this resource. (see [below for nested schema](#nested-schema-for-metadata))
- `spec` (Attributes) Spec defines the user-provided configuration parameters for Beams. (see [below for nested schema](#nested-schema-for-spec))
- `sub_kind` (String) SubKind is the sub\_kind of the resource. Always "".

### Nested Schema for `metadata`

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.
- `name` (String) name is an object name.

### Nested Schema for `spec`

Optional:

- `llm` (Attributes) Llm carries LLM inference configurations. (see [below for nested schema](#nested-schema-for-specllm))

### Nested Schema for `spec.llm`

Optional:

- `anthropic` (Attributes) Anthropic LLM endpoint configuration. (see [below for nested schema](#nested-schema-for-specllmanthropic))
- `openai` (Attributes) OpenAI LLM endpoint configuration. (see [below for nested schema](#nested-schema-for-specllmopenai))

### Nested Schema for `spec.llm.anthropic`

Optional:

- `app_name` (String) AppName is the name of the Teleport app that proxies LLM requests. When empty, defaults to the Cloud-managed LLM app for this endpoint.

### Nested Schema for `spec.llm.openai`

Optional:

- `app_name` (String) AppName is the name of the Teleport app that proxies LLM requests. When empty, defaults to the Cloud-managed LLM app for this endpoint.
