-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
76 lines (64 loc) · 1.89 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
variable "folder_id" {
type = string
description = "Folder id for resources"
default = null
}
variable "vpc_id" {
type = string
description = "VPC id for resources. Default create new network."
default = null
}
variable "yc_availability_zones" {
type = list(string)
description = "List of Yandex Cloud availability zones for deploying NAT instances"
default = [
"ru-central1-a",
"ru-central1-b",
"ru-central1-d"
]
}
variable "subnet_prefix_list" {
type = list(string)
description = "List of prefixes for NAT instances subnets. One prefix per availability zone in order: ru-central1-a, ru-central1-b, ru-central1-d"
default = ["10.10.1.0/24", "10.10.2.0/24", "10.10.3.0/24"]
}
variable "nat_instances_count" {
type = number
description = "Number of NAT instances"
default = 2
}
variable "bucket_private_access" {
type = bool
description = "Restrict access to bucket only from NAT-instances public IP-address"
default = true
}
variable "bucket_console_access" {
type = bool
description = "Allow access to bucket from Yandex Cloud console, apply if bucket_private_access = true"
default = true
}
variable "mgmt_ip" {
type = string
description = "Public IP address of workstation with Terraform to allow actions with bucket during Terraform deployment"
default = null
}
variable "trusted_cloud_nets" {
type = list(string)
description = "List of trusted cloud internal networks for connection to Object Storage through NAT-instances"
default = []
}
variable "vm_username" {
type = string
description = "Username for VMs"
default = "admin"
}
variable "s3_ip" {
type = string
description = "Yandex Object Storage Endpoint IP address"
default = "213.180.193.243"
}
variable "s3_fqdn" {
type = string
description = "Yandex Object Storage Endpoint FQDN"
default = "storage.yandexcloud.net"
}