[terraform] use modern day equinix metal provider (#8748)

* [terraform] use modern day equinix metal provider

* [CI] ensure packet job tests metal
This commit is contained in:
Cristian Calin
2022-04-27 20:34:13 +03:00
committed by GitHub
parent e6c4330e4e
commit 6cc5b38a2e
11 changed files with 58 additions and 59 deletions

View File

@@ -0,0 +1,57 @@
variable "cluster_name" {
default = "kubespray"
}
variable "metal_project_id" {
description = "Your Equinix Metal project ID. See https://metal.equinix.com/developers/docs/accounts/"
}
variable "operating_system" {
default = "ubuntu_20_04"
}
variable "public_key_path" {
description = "The path of the ssh pub key"
default = "~/.ssh/id_rsa.pub"
}
variable "billing_cycle" {
default = "hourly"
}
variable "facility" {
default = "dfw2"
}
variable "plan_k8s_masters" {
default = "c3.small.x86"
}
variable "plan_k8s_masters_no_etcd" {
default = "c3.small.x86"
}
variable "plan_etcd" {
default = "c3.small.x86"
}
variable "plan_k8s_nodes" {
default = "c3.medium.x86"
}
variable "number_of_k8s_masters" {
default = 1
}
variable "number_of_k8s_masters_no_etcd" {
default = 0
}
variable "number_of_etcd" {
default = 0
}
variable "number_of_k8s_nodes" {
default = 1
}