Skip to content
Snippets Groups Projects
Select Git revision
  • 911579a90c465c5080cbcb6e5decb34c0de91f08
  • master default protected
  • v0.0.x
  • v0.0.31
  • v0.0.30
  • v0.0.29
  • v0.0.28
  • v0.0.28-rc1
  • v0.0.27
  • v0.0.26
  • v0.0.25
  • v0.0.24
  • v0.0.23
  • v0.0.22
  • v0.0.21
  • v0.0.20
  • v0.0.19
  • v0.0.18
  • v0.0.17
  • v0.0.16
  • v0.0.15
  • v0.0.14
  • v0.0.13
23 results

go.mod

Blame
  • This project manages its dependencies using Go Modules. Learn more
    variables.tf 1.79 KiB
    variable "prefix" {
      type = string
    }
    
    variable "zone" {
      type = string
    }
    
    variable "template_name" {}
    
    variable "username" {}
    
    variable "private_network_cidr" {}
    
    variable "machines" {
      description = "Cluster machines"
      type = map(object({
        node_type = string
        plan      = string
        cpu       = string
        mem       = string
        disk_size = number
        server_group : string
        additional_disks = map(object({
          size = number
          tier = string
        }))
      }))
    }
    
    variable "ssh_public_keys" {
      type = list(string)
    }
    
    variable "firewall_enabled" {
      type = bool
    }
    
    variable "master_allowed_remote_ips" {
      type = list(object({
        start_address = string
        end_address   = string
      }))
    }
    
    variable "k8s_allowed_remote_ips" {
      type = list(object({
        start_address = string
        end_address   = string
      }))
    }
    
    variable "master_allowed_ports" {
      type = list(object({
        protocol       = string
        port_range_min = number
        port_range_max = number
        start_address  = string
        end_address    = string
      }))
    }
    
    variable "worker_allowed_ports" {
      type = list(object({
        protocol       = string
        port_range_min = number
        port_range_max = number
        start_address  = string
        end_address    = string
      }))
    }
    
    variable "firewall_default_deny_in" {
      type = bool
    }
    
    variable "firewall_default_deny_out" {
      type = bool
    }
    
    variable "loadbalancer_enabled" {
      type = bool
    }
    
    variable "loadbalancer_plan" {
      type = string
    }
    
    variable "loadbalancer_outbound_proxy_protocol" {
      type = string
    }
    
    variable "loadbalancers" {
      description = "Load balancers"
    
      type = map(object({
        port            = number
        target_port     = number
        backend_servers = list(string)
      }))
    }
    
    variable "server_groups" {
      description = "Server groups"
    
      type = map(object({
        anti_affinity_policy = string
      }))
    }