Skip to content

wrossmorrow/trino-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Introduction

This repo contains terraform templates for deploying trino into kubernetes. trino publishes a helm chart (here), but these are reasonably hard to customize. Alot of infrastructure is managed in terraform anyway, so why not have a native module?

Currently for GCP/GKE. Maybe I'll get to an AWS version.

Quick Start

Meant to be used like a module. Here's a sketch from an actual use in real infrastructure:

module "trino_cluster" {

  source = "../utilities/trino"

  depends_on = [
    kubernetes_namespace.trino
  ]

  providers = {
    google     = google
    kubernetes = kubernetes
  }

  region = var.google_cloud_region
  zone   = var.google_cloud_zone
  vpc_id = var.google_cloud_network
  subnet = var.google_cloud_subnetwork

  dns_zone      = var.trino_dns_zone
  dns_subdomain = var.trino_subdomain

  cluster_name = var.cluster_name

  namespace = var.trino_namespace

  rules = var.trino_access_rules

  catalogs = {
    "mongodb.properties" = {
        ...
    }
    "druiddb.properties" = {
        ...
    }
  }

}

About

Terraform-native basics for deploying trino into kubernetes (GKE)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages