variable "project_name" {
  description = "Project name used for resource names and the Project tag. The kit Makefile sets it to field-kit-<slug>."
  type        = string
}

variable "region" {
  description = "Region the POC deploys to."
  type        = string
  default     = "us-east-1"
}

variable "environment" {
  description = "Environment tag value."
  type        = string
  default     = "dev"
}

variable "owner" {
  description = "Owner tag value."
  type        = string
  default     = "renkenk"
}

variable "cost_center" {
  description = "CostCenter tag value for cost allocation. Required."
  type        = string

  validation {
    condition     = length(trimspace(var.cost_center)) > 0
    error_message = "cost_center must not be empty."
  }
}

variable "repository" {
  description = "Repository tag value."
  type        = string
  default     = "reinvent-field-kits"
}

variable "trust_domain" {
  description = "Trust domain of the workload identity provider. Null uses <account-id>.aws.internal, the default the docs use for an account-level provider. Must be unique among the providers in the account."
  type        = string
  default     = null
}

variable "az_ids" {
  description = "Availability Zone IDs for the runtime subnets. Must be zones AgentCore Runtime supports for VPC mode in the Region."
  type        = list(string)
  default     = ["use1-az1", "use1-az2"]
}

variable "interface_endpoint_services" {
  description = "AWS services reached through interface VPC endpoints. logs is required by AgentCore Runtime in a VPC without internet access; bedrock-agentcore is where the AgentCore SDK exchanges the identity context for credentials. Each entry is billed per hour."
  type        = list(string)
  default     = ["logs", "bedrock-agentcore"]
}
