18 lines
382 B
Terraform
18 lines
382 B
Terraform
|
|
variable "shadowsocks_password" { type = string }
|
||
|
|
|
||
|
|
locals {
|
||
|
|
tiers = {
|
||
|
|
core = "0-core"
|
||
|
|
cluster = "1-cluster"
|
||
|
|
gpu = "2-gpu"
|
||
|
|
edge = "3-edge"
|
||
|
|
aux = "4-aux"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
module "shadowsocks" {
|
||
|
|
source = "../../modules/kubernetes/shadowsocks"
|
||
|
|
password = var.shadowsocks_password
|
||
|
|
tier = local.tiers.edge
|
||
|
|
}
|