-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path000-input-variables.tf
executable file
·49 lines (41 loc) · 1.02 KB
/
000-input-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
variable "name" {
description = "Name of the volume"
type = string
}
variable "size" {
description = "Size of the volume in GB"
type = number
}
variable "volume_type" {
description = "Type of the volume"
type = string
}
variable "instance_id" {
description = "ID of the instance to attach the volume to"
type = string
}
variable "device" {
description = "Device path for attachment (e.g., /dev/vdc)"
type = string
default = null
}
variable "multiattach" {
description = "Flag to enable multiattach"
type = bool
default = false
}
variable "tag" {
description = "Tag for the attached device"
type = string
default = null
}
variable "region" {
description = "Region for the Compute client"
type = string
default = null
}
variable "vendor_options" {
description = "Vendor-specific options for the attachment, e.g., ignore_volume_confirmation"
type = map(bool)
default = { ignore_volume_confirmation = false }
}