-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathvariables.tf
82 lines (67 loc) · 2 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
variable "project" {
description = "Nome do projeto existente na Google Cloud"
type = string
}
variable "instance_name" {
description = "Nome da instância na Google Cloud"
type = string
}
variable "instance_image" {
description = "Nome da instância na Google Cloud"
type = string
}
variable "machine_type" {
description = "Tipo de máquina na Google Cloud"
type = string
}
variable "zone" {
description = "Zona na Google Cloud"
type = string
}
variable "network" {
description = "Nome da rede existente na GCP"
type = string
}
variable "subnetwork" {
description = "Nome da subrede existente na GCP * foi definido o valor padrão para caso passe a NETWORK com o valor 'default'"
type = string
default = ""
}
variable "public_ip" {
description = "IP público fixo da máquina. Se for vazio, a máquina não terá IP público, se for 'ephemeral' a máquina terá um IP dinâmico."
type = string
default = ""
}
variable "private_ip" {
description = "IP privado fixo da máquina. Se for vazio, a máquina terá um IP dinâmico da subnet."
type = string
default = ""
}
variable "labels" {
description = "Mapa de labels para nossa instância maneira"
type = map(string)
}
variable "tags" {
description = "Lista de tags de rede associadas à instância"
type = list(string)
}
variable "metadata_startup_script" {
description = "Script executado na inicialização do Sistema Operacional"
type = string
default = ""
}
variable "ssh_keys" {
description = "Lista de chaves públicas para criar conta local juntamente com acesso SSH"
type = string
default = ""
}
variable "network_tier" {
description = "Nivel de serviço de rede. Opções: PREMIUM ou STANDARD"
type = string
default = "STANDARD"
}
variable "roles" {
description = "lista de roles para associar a instância"
type = list(string)
default = ["roles/compute.viewer"]
}