Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
variables.tf 1.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • variable "project_id" {
      type = string
    }
    
    variable "region" {
    
    Nicolas's avatar
    Nicolas committed
      type = string
    
    }
    
    ### Network & Subnetwork
    variable "vpc_network_name" {
    
    Nicolas's avatar
    Nicolas committed
      type = string
    
    }
    variable "vpc_subnetwork_name" {
    
    Nicolas's avatar
    Nicolas committed
      type = string
    
    }
    variable "vpc_private_ip_address_name" {
      type    = string
    
    Nicolas's avatar
    Nicolas committed
      default = "vpc-private-ip-gke"
    
    }
    
    ### Firewall
    variable "fw_http_name" {
      type    = string
      default = "fw-vpc-allow-http"
    }
    variable "fw_https_name" {
      type    = string
      default = "fw-vpc-allow-https"
    }
    variable "fw_ssh_name" {
      type    = string
      default = "fw-vpc-allow-ssh-from-iap"
    }
    
    ### Router & Cloud NAT
    variable "router_name" {
      type    = string
      default = "router-vpc-name"
    }
    variable "cloud_nat_name" {
      type    = string
      default = "cloud-nat-vpc-name"
    }
    
    ### Kubernetes Cluster & Node Pool
    variable "cluster_name" {
      type    = string
    
    Nicolas's avatar
    Nicolas committed
      default = "gke-gke"
    
    }
    variable "node_pool_name" {
      type    = string
    
    Nicolas's avatar
    Nicolas committed
      default = "gke-preemptible-nodes-gke"
    
    }
    
    ### Cloud SQL
    variable "cloud_sql_name" {
      type    = string
    
    Nicolas's avatar
    Nicolas committed
      default = "cloudsql-gke"
    
    }
    
    ### Memory Store
    variable "memory_store_name" {
      type    = string
    
    Nicolas's avatar
    Nicolas committed
      default = "cloudsql-gke"