From 81adc77dec3bf8cd9b742aa1056f4d03d64921c8 Mon Sep 17 00:00:00 2001 From: arnol377 Date: Wed, 18 Sep 2024 14:22:52 -0400 Subject: [PATCH] updating variables.tf --- variables.tf | 34 ---------------------------------- 1 file changed, 34 deletions(-) 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