Variables Inventory

This is the complete variable inventory from the logscale-gcp DR branch. All variables are defined in the Terraform root module and consumed by child modules. Variables are organized by functional category.

Total variable count: ~90 variables.

Basic Configuration
Variable Type Default Required Description
project_id string -- YES GCP project ID
region string "us-central1" no GCP region
zone string "us-central1-a" no GCP zone
infrastructure_prefix string "logscale" no Prefix for all resources
resource_name_prefix string "logscale" no Prefix for K8s resources (max 8 chars)
common_labels map(string) {} no Labels applied to all resources
tags map(string) {} no Tags mapped to GCP labels
deletion_protection bool true no Prevent accidental deletion of GKE cluster
gcs_force_destroy bool false no Allow GCS bucket deletion even with objects present
LogScale Versions
Variable Type Default Required Description
humio_operator_chart_version string -- YES Humio operator Helm chart version
humio_operator_version string -- YES Humio operator container image version
logscale_image_version string -- YES LogScale container image version
strimzi_operator_version string -- YES Strimzi operator version
strimzi_operator_chart_version string -- YES Strimzi operator Helm chart version
topo_lvm_chart_version string "15.5.2" no TopoLVM Helm chart version
nginx_ingress_helm_chart_version string "4.12.1" no NGINX Ingress controller chart version
humiocluster_license string "" no LogScale license key
humio_operator_extra_values map(string) {} no Extra Helm values passed to operator chart
Certificate Manager
Variable Type Default Required Description
cm_namespace string -- YES cert-manager namespace
cm_repo string -- YES cert-manager Helm repository URL
cm_version string -- YES cert-manager version
issuer_kind string -- YES Certificate issuer kind
issuer_name string -- YES Certificate issuer name
issuer_email string -- YES Email for ACME registration
issuer_private_key string -- YES Issuer private key secret name
ca_server string -- YES CA server URL
use_own_certificate_for_ingress bool true no Use cert-manager managed certificates for ingress TLS
GKE Cluster
Variable Type Default Required Description
name string "logscale" no Base cluster name
logscale_gke_cluster_name string "" no Override for GKE cluster name
min_master_version string "1.33.5-gke.1791000" no GKE control plane version
node_pool_version string "1.33.5-gke.1791000" no GKE node pool version
public_url string -- YES Public URL for LogScale UI and API
Network
Variable Type Default Required Description
cluster_ipv4_cidr_block string "10.0.0.0/14" no Pod IP CIDR range
services_ipv4_cidr_block string "172.16.1.0/24" no Service IP CIDR range
master_ipv4_cidr_block string "172.16.0.0/28" no Control plane CIDR range
gcp_cidr_range string "10.128.0.0/20" no VPC subnet CIDR range
ip_ranges_allowed_to_kubeapi list(any) [] no CIDR ranges authorized to access Kubernetes API
kubernetes_private_cluster_enabled bool false no Enable private API endpoint
Cluster Topology
Variable Type Default Required Description
logscale_cluster_type string -- YES Cluster topology: basic, dedicated-ui, or advanced
logscale_cluster_size string "xsmall" no Cluster size
logscale_cluster_k8s_namespace_name string "log" no Kubernetes namespace for LogScale
provision_kafka_servers bool true no Provision Strimzi-managed Kafka cluster
DR Mode
Variable Type Default Required Description
dr string "active" no DR mode: "active" for primary, "standby" for secondary
dr_use_dedicated_routing bool true no Controls service selector strategy during promotion
DR Remote State
Variable Type Default Required Description
primary_remote_state_config object null no Remote state config for reading primary cluster state from secondary
secondary_remote_state_config object null no Remote state config for reading secondary cluster state from primary
Global Load Balancer
Variable Type Default Required Description
enable_global_lb bool false no Enable GLB creation
global_lb_health_check_path string "/api/v1/status" no HTTP path for health checks
global_lb_health_check_port number 8080 no Port for health checks
global_lb_primary_capacity number 1.0 no Primary backend capacity scaler
global_lb_secondary_capacity number 0.0 no Secondary backend capacity scaler
DNS Failover
Variable Type Default Required Description
manage_global_dns bool true no Manage global DNS failover records
global_dns_zone_name string "" no Cloud DNS managed zone name
global_logscale_hostname string "" no Global hostname for DR failover
DR Cloud Function
Variable Type Default Required Description
dr_cloud_function_enabled bool false no Enable failover Cloud Function on standby
dr_cloud_function_target_node_count number 1 no Target node count per pool on failover
dr_cloud_function_pre_failover_failure_seconds number 180 no Consecutive failure duration before triggering failover