Prerequisites Setup

  1. For the repository structure ensure both repositories are cloned as siblings:

    none
    reference_architecture/
    ├── azure/
    │   └── logscale-azure-v2/     # This repository
    └── logscale-kubernetes/        # Required sibling directory
  2. Copy example.tfvars to terraform.tfvars:

    shell
    cp example.tfvars terraform.tfvars
  3. Update terraform.tfvars. Configure the following required variables for your environment:

    terraform
    # Azure Configuration
    azure_subscription_id           = "your-subscription-id"
    azure_resource_group_region     = "eastus"  # or your preferred region
    resource_name_prefix            = "mylogscl"  # max 8 characters
    admin_ssh_pubkey               = "ssh-rsa AAAAB3N..."  # your SSH public key
    
    # LogScale Configuration
    logscale_cluster_type          = "basic"  # basic, ingress, dedicated-ui, or advanced
    logscale_cluster_size          = "small"  # xsmall, small, medium, large, xlarge
    logscale_license              = "your-logscale-license-string"
    cert_issuer_email             = "admin@yourcompany.com"
    
    # Network Access (adjust IP ranges for your organization)
    ip_ranges_allowed_to_kubeapi   = ["YOUR_IP/32"]
    ip_ranges_allowed_https        = ["YOUR_IP/32"]
    ip_ranges_allowed_kv_access    = ["YOUR_IP/32"]