# --------------------------------------------------------------------------------------------------------------------- # REQUIRED PARAMETERS # These variables are expected to be passed in by the operator # --------------------------------------------------------------------------------------------------------------------- variable "project" { description = "The project ID to create the resources in." type = string default = "centos-k8s" } variable "region" { description = "The region to create the resources in." type = string default = "us-central1" # Iowa } variable "zone" { description = "The GCP zone to create the sample compute instances in. Must within the region specified in 'var.region'" type = string default = "us-central1-a" } # --------------------------------------------------------------------------------------------------------------------- # OPTIONAL PARAMETERS # These variables have defaults, but may be overridden by the operator. # --------------------------------------------------------------------------------------------------------------------- variable "name" { description = "Name for the load balancer forwarding rule and prefix for supporting resources." type = string default = "k8s-lb" } variable "custom_labels" { description = "A map of custom labels to apply to the resources. The key is the label name and the value is the label value." type = map(string) default = {} } variable "gce-vms" { description = "Self link to VM for LB" type = list }