~damien/infrastructure

infrastructure/terraform/main.tf -rw-r--r-- 496 bytes
b9a7a905Damien Radtke Re-introducing Packer into this 22 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
terraform {
  required_providers {
    linode = {
      source  = "linode/linode"
      version = "1.19.1"
    }
  }
}

variable "linode_token" { type = string }

provider "linode" {
  token = var.linode_token
}

data "linode_profile" "me" {}

module "cluster" {
  source           = "./cluster"
  datacenter       = "ca-central"
  image            = "private/12878715"
  authorized_users = [data.linode_profile.me.username]
  instance_type    = "g6-nanode-1"
  vault_token      = "root_token"
}