|
@ -13,7 +13,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}" |
|
|
facility = "${var.facility}" |
|
|
|
|
|
|
|
|
facilities = "${var.facilities}" |
|
|
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}" |
|
@ -26,7 +26,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}" |
|
|
facility = "${var.facility}" |
|
|
|
|
|
|
|
|
facilities = "${var.facilities}" |
|
|
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}" |
|
@ -39,7 +39,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}" |
|
|
facility = "${var.facility}" |
|
|
|
|
|
|
|
|
facilities = "${var.facilities}" |
|
|
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}" |
|
@ -52,7 +52,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}" |
|
|
facility = "${var.facility}" |
|
|
|
|
|
|
|
|
facilities = "${var.facilities}" |
|
|
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}" |
|
|