|
@ -15,7 +15,7 @@ resource "packet_device" "k8s_master" { |
|
|
count = "${var.number_of_k8s_masters}" |
|
|
count = "${var.number_of_k8s_masters}" |
|
|
hostname = "${var.cluster_name}-k8s-master-${count.index+1}" |
|
|
hostname = "${var.cluster_name}-k8s-master-${count.index+1}" |
|
|
plan = "${var.plan_k8s_masters}" |
|
|
plan = "${var.plan_k8s_masters}" |
|
|
facilities = "${var.facilities}" |
|
|
|
|
|
|
|
|
facilities = ["${var.facility}"] |
|
|
operating_system = "${var.operating_system}" |
|
|
operating_system = "${var.operating_system}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
project_id = "${var.packet_project_id}" |
|
|
project_id = "${var.packet_project_id}" |
|
@ -28,7 +28,7 @@ resource "packet_device" "k8s_master_no_etcd" { |
|
|
count = "${var.number_of_k8s_masters_no_etcd}" |
|
|
count = "${var.number_of_k8s_masters_no_etcd}" |
|
|
hostname = "${var.cluster_name}-k8s-master-${count.index+1}" |
|
|
hostname = "${var.cluster_name}-k8s-master-${count.index+1}" |
|
|
plan = "${var.plan_k8s_masters_no_etcd}" |
|
|
plan = "${var.plan_k8s_masters_no_etcd}" |
|
|
facilities = "${var.facilities}" |
|
|
|
|
|
|
|
|
facilities = ["${var.facility}"] |
|
|
operating_system = "${var.operating_system}" |
|
|
operating_system = "${var.operating_system}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
project_id = "${var.packet_project_id}" |
|
|
project_id = "${var.packet_project_id}" |
|
@ -41,7 +41,7 @@ resource "packet_device" "k8s_etcd" { |
|
|
count = "${var.number_of_etcd}" |
|
|
count = "${var.number_of_etcd}" |
|
|
hostname = "${var.cluster_name}-etcd-${count.index+1}" |
|
|
hostname = "${var.cluster_name}-etcd-${count.index+1}" |
|
|
plan = "${var.plan_etcd}" |
|
|
plan = "${var.plan_etcd}" |
|
|
facilities = "${var.facilities}" |
|
|
|
|
|
|
|
|
facilities = ["${var.facility}"] |
|
|
operating_system = "${var.operating_system}" |
|
|
operating_system = "${var.operating_system}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
project_id = "${var.packet_project_id}" |
|
|
project_id = "${var.packet_project_id}" |
|
@ -54,7 +54,7 @@ resource "packet_device" "k8s_node" { |
|
|
count = "${var.number_of_k8s_nodes}" |
|
|
count = "${var.number_of_k8s_nodes}" |
|
|
hostname = "${var.cluster_name}-k8s-node-${count.index+1}" |
|
|
hostname = "${var.cluster_name}-k8s-node-${count.index+1}" |
|
|
plan = "${var.plan_k8s_nodes}" |
|
|
plan = "${var.plan_k8s_nodes}" |
|
|
facilities = "${var.facilities}" |
|
|
|
|
|
|
|
|
facilities = ["${var.facility}"] |
|
|
operating_system = "${var.operating_system}" |
|
|
operating_system = "${var.operating_system}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
billing_cycle = "${var.billing_cycle}" |
|
|
project_id = "${var.packet_project_id}" |
|
|
project_id = "${var.packet_project_id}" |
|
|