-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
43 lines (36 loc) · 939 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
variable "cluster_name" {
description = "Nome do cluster Kubernetes"
type = string
}
variable "region" {
description = "Região do DigitalOcean"
type = string
}
variable "node_size" {
description = "Tamanho dos nós workers"
type = string
}
variable "node_count" {
description = "Número de nós workers"
type = number
}
variable "allowed_ssh_ips" {
description = "Lista de IPs permitidos para SSH"
type = list(string)
default = ["187.64.121.155/32"] #
}
variable "allowed_api_ips" {
description = "Lista de IPs permitidos para API do Kubernetes"
type = list(string)
default = ["187.64.121.155/32"] #
}
variable "digitalocean_token" {
description = "Access Token DigitalOcean"
type = string
sensitive = true
}
variable "cluster_version" {
description = "Versão do cluster DOKS"
type = string
default = "1.32.2-do.0"
}