diff --git a/variables.tf b/variables.tf index 150c477..e199f0d 100644 --- a/variables.tf +++ b/variables.tf @@ -8,40 +8,6 @@ variable "ecs_cluster_name" { } } -variable "github_runners" { - description = "A list of GitHub runners" - type = list(object({ - hostname = string - namespace = optional(string, null) - repo_name = optional(string, null) - labels = optional(list(string)) - subnets = optional(list(string)) - tag = optional(string) - - network_configuration = optional(object({ - subnets = optional(list(string), []), - security_groups = optional(list(string), []), - assign_public_ip = optional(bool, false) - }), {} - ) - - runner_group = optional(object({ - name = optional(string) - visibility = optional(string, "selected") - selected_workflows = optional(list(string), []) - selected_repository_ids = optional(list(string), []) - allows_public_repositories = optional(bool, false) - create = optional(bool, false) - }), { create = false }) - # end of variable definition - })) - - validation { - condition = length(var.github_runners) > 0 - error_message = "The list of GitHub runners must not be empty." - } -} - variable "repo_org" { description = "The GitHub organization" type = string