Skip to content

Instantly share code, notes, and snippets.

@saviour123
Created July 29, 2025 11:00
Show Gist options
  • Save saviour123/81befdf656c9d5390b29d898ab3813d9 to your computer and use it in GitHub Desktop.
Save saviour123/81befdf656c9d5390b29d898ab3813d9 to your computer and use it in GitHub Desktop.
Provision LKE enterprise
# tf init
# tf apply
terraform {
required_providers {
linode = {
source = "linode/linode"
}
}
}
provider "linode" {
token = ""
api_version = "v4beta"
}
resource "linode_lke_cluster" "test" {
label = "lke-e-cluster"
region = "us-lax"
tier = "enterprise"
k8s_version = "v1.31.8+lke5"
tags = ["test"]
pool {
type = "g7-premium-2"
count = 3
tags = ["test"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment