components/terraform/rekognition/variables.tf
2 KB - Voir le fichier brut
variable "enabled" {
type = bool
default = true
description = "Whether to create Rekognition 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 = "faces"
description = "Resource name suffix"
}
# Collection settings
variable "create_collection" {
type = bool
default = true
description = "Create a Rekognition collection for face indexing"
}
variable "collection_name" {
type = string
default = null
description = "Override collection name (optional)"
}
# Custom Labels Project settings
variable "create_custom_labels_project" {
type = bool
default = false
description = "Create a Custom Labels project"
}
variable "project_name" {
type = string
default = null
description = "Override project name (optional)"
}
variable "auto_update" {
type = string
default = "ENABLED"
description = "Auto-update setting for Custom Labels project (ENABLED or DISABLED)"
}
variable "project_feature" {
type = string
default = "CUSTOM_LABELS"
description = "Project feature type (CUSTOM_LABELS or CONTENT_MODERATION)"
}
# SNS settings
variable "create_sns_topic" {
type = bool
default = false
description = "Create SNS topic for async operation notifications"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags"
}