variable "repository_name" {
  type        = string
  description = "The name of the ECR repository"
}

variable "force_delete" {
  type        = bool
  description = "If true, the repository can be deleted even if it contains images."
  default     = true
}

variable "allowed_jenkins_environments" {
  type        = list(string)
  description = "List of IAM environments allowed to access the repository"
  default     = ["qa", "uat", "prod"]
}

variable "allowed_jenkins_role_suffixes" {
  type        = list(string)
  description = "List of IAM role suffixes allowed to access the repository"
  default     = ["jenkins-pipeline-deploy-role", "jenkins-aws-pipeline-agent"]
}

locals {
  organization_id    = "o-bqioddgr91"
  organization_units = ["ou-ax9e-vu43qt3i", "ou-ax9e-ouayejxi", "ou-ax9e-nxfxc71f", "ou-ax9e-dc402ggh"]
}
