mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-28 17:21:11 +00:00
Break down provider-specific configuration into two files: - config.tf (actual configuration, e.g. credentials, that cannot be included in submodules) - variables.tf (per-provider knobs and settings, e.g. mapping logical VM size like S/M/L to actual cloud SKUs)
22 lines
375 B
HCL
22 lines
375 B
HCL
/*
|
|
Available sizes:
|
|
"g6-standard-1" # CPU=1 RAM=2
|
|
"g6-standard-2" # CPU=2 RAM=4
|
|
"g6-standard-4" # CPU=4 RAM=8
|
|
"g6-standard-6" # CPU=6 RAM=16
|
|
"g6-standard-8" # CPU=8 RAM=32
|
|
*/
|
|
variable "node_sizes" {
|
|
type = map(any)
|
|
default = {
|
|
S = "g6-standard-1"
|
|
M = "g6-standard-2"
|
|
L = "g6-standard-4"
|
|
}
|
|
}
|
|
|
|
variable "location" {
|
|
type = string
|
|
default = "eu-west"
|
|
}
|