components/terraform/transcribe/variables.tf
2 KB - Открыть исходный файл
variable "enabled" {
type = bool
default = true
description = "Whether to create Transcribe resources"
}
variable "region" {
type = string
description = "AWS region"
}
variable "namespace" {
type = string
default = "ai"
description = "Namespace for resource naming"
}
variable "lab" {
type = string
description = "Lab identifier"
}
variable "stage" {
type = string
default = "test"
description = "Stage"
}
variable "name" {
type = string
default = "transcribe"
description = "Resource name suffix"
}
# S3 settings
variable "s3_bucket_arn" {
type = string
default = null
description = "S3 bucket ARN for Transcribe"
}
# Language settings
variable "language_code" {
type = string
default = "en-US"
description = "Language code for vocabularies and models"
}
# Custom Vocabulary settings
variable "create_custom_vocabulary" {
type = bool
default = false
description = "Create a custom vocabulary"
}
variable "vocabulary_phrases" {
type = list(string)
default = null
description = "List of phrases for custom vocabulary"
}
variable "vocabulary_file_uri" {
type = string
default = null
description = "S3 URI for vocabulary file"
}
# Vocabulary Filter settings
variable "create_vocabulary_filter" {
type = bool
default = false
description = "Create a vocabulary filter"
}
variable "filter_words" {
type = list(string)
default = null
description = "List of words to filter"
}
variable "filter_file_uri" {
type = string
default = null
description = "S3 URI for filter file"
}
# Custom Language Model settings
variable "create_language_model" {
type = bool
default = false
description = "Create a custom language model (requires training data)"
}
variable "base_model_name" {
type = string
default = "NarrowBand"
description = "Base model name (NarrowBand or WideBand)"
}
variable "language_model_training_data_s3_uri" {
type = string
default = null
description = "S3 URI for language model training data"
}
variable "language_model_tuning_data_s3_uri" {
type = string
default = null
description = "S3 URI for language model tuning data"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags"
}