Configure Variables
To configure your variables:
Create a
terraform.tfvarsfile or modifyterraform.tfvars.examplewith your configuration.Set required variables:
project_id,region,zone,public_url,gcs_bucket_name, andlogscale_access_logs_bucket
Example:
terraform
# Basic project configuration
project_id = "your-gcp-project-id"
region = "us-central1"
zone = "us-central1-a"
# Network configuration
gcp_network_name = "logscale-network"
gcp_subnetwork_name = "logscale-subnetwork"
gcp_cidr_range = "10.0.0.0/16"
# GKE cluster configuration
logscale_gke_cluster_name = "logscale-gke"
min_master_version = "1.32"
# DNS and public access
public_url = "logscale.your-domain.com"
# LogScale configuration
logscale_cluster_size = "xsmall"
logscale_cluster_type = "dedicated-ui"
# Storage buckets (must be globally unique)
gcs_bucket_name = "your-unique-logscale-storage"
logscale_access_logs_bucket = "your-unique-access-logs"
# Kubernetes namespace
logscale_cluster_k8s_namespace_name = "logging"Refer to the Terraform Variables README for a full list of configuration values.