forked from trussworks/terraform-aws-s3-anti-virus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
88 lines (74 loc) · 2.28 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
variable "name_scan" {
default = "s3-anti-virus-scan"
description = "Name for resources associated with anti-virus scanning"
type = string
}
variable "name_update" {
default = "s3-anti-virus-updates"
description = "Name for resources associated with anti-virus updating"
type = string
}
variable "cloudwatch_logs_retention_days" {
default = 90
description = "Number of days to keep logs in AWS CloudWatch."
type = string
}
variable "lambda_s3_bucket" {
description = "The name of the S3 bucket used to store the Lambda builds."
type = string
}
variable "lambda_version" {
description = "The version the Lambda function to deploy."
type = string
}
variable "lambda_package" {
description = "The name of the lambda package. Used for a directory tree and zip file."
type = string
default = "anti-virus"
}
variable "av_update_minutes" {
default = 180
description = "How often to download updated Anti-Virus databases."
type = string
}
variable "av_scan_buckets" {
description = "A list of S3 bucket names to scan for viruses."
type = list(string)
}
variable "tags" {
description = "A map of tags to add to all resources."
type = map(string)
default = {}
}
#
# The variables below correspond to https://github.com/upsidetravel/bucket-antivirus-function/tree/master#configuration
#
variable "av_definition_s3_bucket" {
description = "Bucket containing antivirus database files."
type = string
}
variable "av_definition_s3_prefix" {
description = "Prefix for antivirus database files."
type = string
default = "clamav_defs"
}
variable "av_scan_start_sns_arn" {
description = "SNS topic ARN to publish notification about start of scan (optional)."
type = string
default = ""
}
variable "av_status_sns_arn" {
description = "SNS topic ARN to publish scan results (optional)."
type = string
default = ""
}
variable "av_status_sns_publish_clean" {
description = "Publish AV_STATUS_CLEAN results to AV_STATUS_SNS_ARN."
type = string
default = "True"
}
variable "av_status_sns_publish_infected" {
description = "Publish AV_STATUS_INFECTED results to AV_STATUS_SNS_ARN."
type = string
default = "True"
}