-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
123 lines (99 loc) · 3.54 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
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
119
120
121
122
123
variable "name" {
default = null
description = "(Optional) Resource name."
}
variable "platform_id" {
default = null
description = "(Optional) The type of virtual machine to create. The default is 'standard-v1'."
}
variable "zone" {
default = null
description = "(Optional) The availability zone where the virtual machine will be created. If it is not provided, the default provider folder is used."
}
variable "boot_disk" {
default = {}
description = "(Required) The boot disk for the instance."
}
variable "vpc_subnet_name" {
description = "(Required) VPC subnet to place the instance."
}
variable "resources" {
default = {}
description = "(Required) Compute resources that are allocated for the instance."
}
variable "ipv4_private_address" {
default = null
description = "(Optional) The private IP address to assign to the instance. If empty, the address will be automatically assigned from the specified subnet."
}
variable "ipv6_private_address" {
default = null
description = "(Optional) The private IPv6 address to assign to the instance. If empty, the address will be automatically assigned from the specified subnet."
}
variable "nat_public_ip_address" {
default = null
description = "(Optional) Provide a public address, for instance, to access the internet over NAT."
}
variable "allocate_ipv4" {
default = true
description = "(Optional) Allocate an IPv4 address for the interface. The default value is true."
}
variable "allocate_ipv6" {
default = false
description = "(Optional) If true, allocate an IPv6 address for the interface. The address will be automatically assigned from the specified subnet."
}
variable "allocate_nat" {
default = false
description = "(Optional) Provide a public address, for instance, to access the internet over NAT."
}
variable "default_security_group_ingress" {
default = []
description = "(Optional) - A list of ingress rules to create with default security group."
}
variable "default_security_group_egress" {
default = []
description = "(Optional) - A list of egress rules to create with default security group."
}
variable "create_default_security_group" {
default = false
description = "(Optional) - Create default security group."
}
variable "vpc_security_groups" {
default = []
description = "(Optional) - Assign security groups to instance."
}
variable "dns_record" {
default = {}
description = "(Optional) List of configurations for creating ipv4 DNS records. The structure is documented below."
}
variable "ipv6_dns_record" {
default = {}
description = "(Optional) List of configurations for creating ipv6 DNS records. The structure is documented below."
}
variable "nat_dns_record" {
default = {}
description = "(Optional) List of configurations for creating ipv4 NAT DNS records. The structure is documented below."
}
variable "username" {
default = ""
description = "(Optional) Provide username for creation on instance with cloud-init."
}
variable "password" {
default = ""
description = "(Optional) Provide password for creation on instance with cloud-init for user."
}
variable "user_groups" {
default = "sudo"
description = "(Optional) Provide groups to assign to user on compute instance."
}
variable "ssh_key" {
default = ""
description = "(Optional) Provide public ssh_key to assign to user on compute instance."
}
variable "user_data" {
default = ""
description = "(Optional) Custom user-data for compute instance."
}
variable "allow_stopping_for_update" {
default = false
description = "(Optional) Custom user-data for compute instance."
}