forked from Alexander-Babichuk/aws-cvpn-endpoints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
59 lines (50 loc) · 1.83 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
# ------------------------------------------------------------------------------
# REQUIRED PARAMETERS
# You must provide a value for each of these parameters.
# ------------------------------------------------------------------------------
variable "client_cidr_block" {
description = "The IPv4 address range, in CIDR notation, from which to assign client IP addresses."
type = string
}
variable "common_name" {
description = "Common name(CN) to use in the subject of the cert (e.g., example.com)."
}
variable "organization" {
description = "Organizational Unit(OU) to associate with the cert (e.g. Example LTD)."
}
variable "validity_period_hours" {
description = "The number of hours after initial issuing that the cert will become invalid."
}
# ------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# These parameters have reasonable defaults.
# ------------------------------------------------------------------------------
variable "associate_subnet_ids" {
description = "The list of the subnet ID to associate with the Client VPN endpoint."
type = list(string)
default = []
}
variable "transport_protocol" {
description = "The transport layer protocol to be used by the VPN session."
type = string
default = "tcp"
}
variable "cloudwatch_logging" {
description = "Indicates whether connection logging is enabled."
type = bool
default = false
}
variable "cloudwatch_retention_period" {
description = "Specifies the number of days you want to retain log events."
type = string
default = "30"
}
variable "rsa_bits" {
description = "The size of the generated RSA key in bits."
default = "2048"
}
variable "tags" {
description = "A map of tags to add to all resources."
type = map(string)
default = {}
}