-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
101 lines (87 loc) · 2.81 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
variable "location" {
type = string
description = "The location of the Azure Bastion Host."
nullable = false
}
variable "name" {
type = string
description = "The name of the Azure Bastion Host."
}
variable "resource_group_name" {
type = string
description = "The name of the resource group where the Azure Bastion Host is located."
}
variable "copy_paste_enabled" {
type = bool
default = true
description = "Specifies whether copy-paste functionality is enabled for the Azure Bastion Host."
nullable = false
}
variable "file_copy_enabled" {
type = bool
default = false
description = "Specifies whether file copy functionality is enabled for the Azure Bastion Host."
nullable = false
}
variable "ip_configuration" {
type = object({
name = string
subnet_id = string
public_ip_address_id = string
})
default = null
description = <<DESCRIPTION
The IP configuration for the Azure Bastion Host.
- `name` - The name of the IP configuration.
- `subnet_id` - The ID of the subnet where the Azure Bastion Host will be deployed.
- `public_ip_address_id` - The ID of the public IP address associated with the Azure Bastion Host.
DESCRIPTION
}
variable "ip_connect_enabled" {
type = bool
default = false
description = "Specifies whether IP connect functionality is enabled for the Azure Bastion Host."
nullable = false
}
variable "kerberos_enabled" {
type = bool
default = false
description = "Specifies whether Kerberos authentication is enabled for the Azure Bastion Host."
nullable = false
}
variable "scale_units" {
type = number
default = 2
description = "The number of scale units for the Azure Bastion Host."
nullable = false
}
variable "shareable_link_enabled" {
type = bool
default = false
description = "Specifies whether shareable link functionality is enabled for the Azure Bastion Host."
nullable = false
}
variable "sku" {
type = string
default = "Basic"
description = <<DESCRIPTION
The SKU of the Azure Bastion Host.
Valid values are 'Basic', 'Standard', and 'Developer'.
DESCRIPTION
nullable = false
validation {
condition = can(regex("^(Basic|Standard|Developer)$", var.sku))
error_message = "The SKU must be either 'Basic', 'Standard', or 'Developer'."
}
}
variable "tunneling_enabled" {
type = bool
default = false
description = "Specifies whether tunneling functionality is enabled for the Azure Bastion Host."
nullable = false
}
variable "virtual_network_id" {
type = string
default = null
description = "The ID of the virtual network where the Azure Bastion Host is deployed."
}