Skip to content

Commit

Permalink
updating variables.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Sep 18, 2024
1 parent 8635cf3 commit 81adc77
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81adc77

Please sign in to comment.