-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
118 lines (93 loc) · 2.96 KB
/
variables.tf
File metadata and controls
118 lines (93 loc) · 2.96 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#=========== Openstack ==============
variable "auth_url" {
description = "(Optional; required if cloud is not specified) The Identity authentication URL. If omitted, the OS_AUTH_URL environment variable is used."
type = string
default = ""
}
variable "domain_name" {
description = "(Optional) The Name of the Domain to scope to (Identity v3). If omitted, the following environment variables are checked (in this order): OS_DOMAIN_NAME"
type = string
default = ""
}
variable "project_domain_name" {
description = "The domain name where the project is located. If omitted, the OS_PROJECT_DOMAIN_NAME environment variable is checked"
type = string
default = ""
}
variable "tenant_name" {
description = "The Name of the Tenant (Identity v2) or Project (Identity v3) to login with. If omitted, the OS_TENANT_NAME or OS_PROJECT_NAME environment variable are used"
type = string
default = ""
}
variable "tenant_id" {
description = "Cloud platform project ID: https://docs.selectel.ru/cloud/servers/about/projects/"
type = string
}
variable "user_id" {
description = "The User ID to login with. If omitted, the OS_USER_ID environment variable is used."
type = string
default = ""
}
variable "user_name" {
description = "OpenStack user tied to a cloud platform project: https://docs.selectel.ru/cloud/servers/about/projects/#%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D1%82%D1%8C-%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8F"
type = string
}
variable "user_domain_name" {
description = "The domain name where the user is located. If omitted, the OS_USER_DOMAIN_NAME environment variable is checked"
type = string
default = ""
}
variable "password" {
description = "OpenStack user password"
type = string
}
variable "region" {
description = "Pool where the infrastructure will be deployed: https://docs.selectel.ru/control-panel-actions/selectel-infrastructure/"
type = string
default = ""
}
variable "az_zone" {
description = "Pool segment"
type = string
}
#=========== Volume ==============
variable "volume_type" {
type = string
}
#=========== SSH ==============
variable "ssh_name" {
type = string
default = "qiner_ssh"
}
variable "ssh_user_name" {
type = string
default = "root"
}
variable "ssh_private_key_path" {
type = string
default = "./.ssh/id_rsa"
}
variable "ssh_public_key_path" {
type = string
default = "./.ssh/id_rsa.pub"
}
#=========== Network ==============
variable "network_cidr" {
type = string
}
variable "network_external_name" {
type = string
}
#=========== Instance ==============
variable "instance_count" {
description = "Number of instances to be created"
type = number
}
variable "instance_cpus" {
description = "Number of cores for instances"
type = string
}
variable "instance_ram" {
description = "Number of RAM in MB"
type = string
}