components/terraform/translate/variables.tf
2 KB - הצגת הקובץ המקורי
variable "enabled" {
type = bool
default = true
description = "Whether to create Translate 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 = "translate"
description = "Resource name suffix"
}
# S3 settings
variable "s3_bucket_arn" {
type = string
default = null
description = "S3 bucket ARN for Translate batch jobs"
}
# Custom Terminology settings
variable "create_custom_terminology" {
type = bool
default = false
description = "Create a custom terminology"
}
variable "terminology_description" {
type = string
default = "Custom terminology for domain-specific translations"
description = "Description for custom terminology"
}
variable "terminology_file_content" {
type = string
default = null
description = "Content of the terminology file (CSV or TMX format)"
}
variable "terminology_format" {
type = string
default = "CSV"
description = "Format of terminology file (CSV or TMX)"
}
variable "terminology_directionality" {
type = string
default = "UNI"
description = "Directionality (UNI for unidirectional, MULTI for bidirectional)"
}
# Parallel Data settings
variable "create_parallel_data" {
type = bool
default = false
description = "Create parallel data for Active Custom Translation"
}
variable "parallel_data_description" {
type = string
default = "Parallel data for custom translation"
description = "Description for parallel data"
}
variable "parallel_data_format" {
type = string
default = "CSV"
description = "Format of parallel data (CSV, TMX, or TSV)"
}
variable "parallel_data_s3_uri" {
type = string
default = null
description = "S3 URI for parallel data file"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags"
}