components/terraform/polly/variables.tf
1 KB - View raw file
variable "enabled" {
type = bool
default = true
description = "Whether to create Polly 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 = "polly"
description = "Resource name suffix"
}
# Lexicon settings
variable "create_lexicon" {
type = bool
default = true
description = "Create a custom lexicon for pronunciation"
}
variable "lexicon_content" {
type = string
default = null
description = "Custom lexicon content in PLS XML format (uses default if null)"
}
# Output bucket settings
variable "create_output_bucket" {
type = bool
default = false
description = "Create S3 bucket for async speech synthesis output"
}
variable "force_destroy_bucket" {
type = bool
default = true
description = "Allow bucket destruction even with objects"
}
# SNS settings
variable "create_sns_topic" {
type = bool
default = false
description = "Create SNS topic for async task notifications"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags"
}