provider "linode" { token = var.linode_token } provider "random" {} data "linode_profile" "me" {} variable linode_token { type = string } variable ca_host { type = string } variable ca_key { type = string } variable vault_token { type = string } module "cluster-blue" { source = "./cluster" linode_token = var.linode_token ca_host = var.ca_host ca_key = var.ca_key vault_token = var.vault_token region = "ca-central" image = "linode/opensuse15.2" instance_type = "g6-nanode-1" authorized_users = [data.linode_profile.me.username] consul_version = "1.9.0" nomad_version = "1.0.1" vault_version = "1.6.1" } // TODO: cluster-green