-
Notifications
You must be signed in to change notification settings - Fork 7
/
variables.tf
37 lines (31 loc) · 993 Bytes
/
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
//
// Module: inspector
//
variable "iam_role_arn" {
description = "Controls whether to create the Inspector role"
default = null
}
variable "name" {
description = "String to prefix resource names with"
type = string
}
variable "duration" {
description = "Maximum time the Inspector assessment will run for (in seconds)"
type = string
default = "3600"
}
variable "schedule" {
description = "Rate expression for CloudWatch event. Required if not setting an event_pattern"
type = string
default = null
}
variable "event_pattern" {
description = "JSON object describing an event to capture. Required if not setting a schedule. See AWS documentation for more details - https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html"
type = string
default = null
}
variable "tags" {
description = "Map of tags to apply to the resources"
type = map(string)
default = {}
}