-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
70 lines (60 loc) · 1.72 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
# variable "google_billing_account_display_name" {
# description = "The display name of the billing account."
# type = string
# }
# variable "google_project_name" {
# description = "The name of the project."
# type = string
# }
# variable "google_organization_domain_name" {
# description = "The domain name of the Organization."
# type = string
# }
# data "google_billing_account" "acct" {
# display_name = var.google_billing_account_display_name
# open = true
# }
# variable "activate_apis" {
# type = list(string)
# description = "Lista das apis que serão ativadas no projeto do GCP."
# default = []
# sensitive = false
# }
# variable "cloud_provider" {
# type = string
# default = "GCP"
# description = "Name of the cloud provider (GCP)"
# sensitive = false
# validation {
# condition = contains(["GCP", "AWS", "Azure"], var.cloud_provider)
# error_message = "Valid values for var: cloud_provider are (GCP)."
# }
# }
variable "project" {
description = "Nome do projeto existente no google cloud"
type = string
}
variable "vpc_name" {
description = "Nome da vpc"
type = string
}
variable "subnetworks" {
description = "Lista do objeto de network"
type = list(object({
name = string
ip_cidr_range = string
region = string
}))
}
variable "firewall_allow" {
description = "Lista de portas para permitir no firewall"
type = list(object({
protocol = string
port = list(number)
}))
}
variable "mtu" {
description = "Unidades máximas de unidades de transmissão em bytes. O valor mínimo válido é 1460 e o máximo é 1500 bytes."
type = number
default = 1460
}