Skip to content

Instantly share code, notes, and snippets.

@TheMagoo73
TheMagoo73 / gke-private-cluster.tf
Created August 6, 2019 13:28
Terraform definition of a GKE private cluster
terraform {
backend "gcs" {
bucket = "tf-state-laaso-cluster"
prefix = "terraform/state"
credentials = "terraform-deploy.json"
}
}
provider "google" {
version = "~> 2.12.0"
@BowlingX
BowlingX / gist:2070600
Created March 18, 2012 11:15
SBT Reflective load a Class on fullClasspath
/* File: Build.scala in ~/project */
/*...Build Definition...*/
/* This Task should load a Class on my Project*/
val taskKey = TaskKey[Unit]("task-name", "task-description")
val myTask = taskKey <<= (fullClasspath in Runtime, scalaInstance) map { (cp, si) =>