variable "github_org" {
  description = "GitHub organization name"
  type        = string
}

variable "github_repo" {
  description = "GitHub repository name"
  type        = string
}

variable "ecr_arns" {
  description = "List of ECR repository ARNs to grant push access"
  type        = list(string)
}

variable "state_bucket_arn" {
  description = "ARN of the S3 bucket used for Terraform state"
  type        = string
}

variable "deploy_instance_arn" {
  description = "ARN of the single EC2 instance eligible for production SSM commands"
  type        = string
}

variable "cli_dist_bucket_arn" {
  description = "ARN of the S3 bucket hosting published self-service artifacts (the uploads bucket). When set, CI gets s3 object access scoped to the cli-dist/* and plugin-dist/* prefixes so cli-release.yml / plugin-release.yml can publish (plugin-release also reads the latest manifest for its version-bump gate). Empty = no grant."
  type        = string
  default     = ""
}

variable "project" {
  description = "Project name"
  type        = string
}

variable "environment" {
  description = "Environment name (e.g. dev, staging, prod)"
  type        = string
}
