-
Notifications
You must be signed in to change notification settings - Fork 47
/
variables.tf
105 lines (88 loc) · 2.51 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
variable "bucket_name" {
description = "Name prefix of S3 bucket to store session logs"
type = string
}
variable "log_archive_days" {
description = "Number of days to wait before archiving to Glacier"
type = number
default = 30
}
variable "log_expire_days" {
description = "Number of days to wait before deleting"
type = number
default = 365
}
variable "access_log_bucket_name" {
description = "Name prefix of S3 bucket to store access logs from session logs bucket"
type = string
}
variable "access_log_expire_days" {
description = "Number of days to wait before deleting access logs"
type = number
default = 30
}
variable "kms_key_deletion_window" {
description = "Waiting period for scheduled KMS Key deletion. Can be 7-30 days."
type = number
default = 7
}
variable "kms_key_alias" {
description = "Alias prefix of the KMS key. Must start with alias/ followed by a name"
type = string
default = "alias/ssm-key"
}
variable "cloudwatch_logs_retention" {
description = "Number of days to retain Session Logs in CloudWatch"
type = number
default = 30
}
variable "cloudwatch_log_group_name" {
description = "Name of the CloudWatch Log Group for storing SSM Session Logs"
type = string
default = "/ssm/session-logs"
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}
variable "vpc_id" {
description = "VPC ID to deploy endpoints into"
type = string
default = null
}
variable "subnet_ids" {
description = "Subnet Ids to deploy endpoints into"
type = set(string)
default = []
}
variable "vpc_endpoint_private_dns_enabled" {
description = "Enable private dns for endpoints"
type = bool
default = true
}
variable "enable_log_to_s3" {
description = "Enable Session Manager to Log to S3"
type = bool
default = true
}
variable "enable_log_to_cloudwatch" {
description = "Enable Session Manager to Log to CloudWatch Logs"
type = bool
default = true
}
variable "vpc_endpoints_enabled" {
description = "Create VPC Endpoints"
type = bool
default = false
}
variable "linux_shell_profile" {
description = "The ShellProfile to use for linux based machines."
default = ""
type = string
}
variable "windows_shell_profile" {
description = "The ShellProfile to use for windows based machines."
default = ""
type = string
}