-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
72 lines (60 loc) · 1.67 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
variable "environment" {
type = string
description = "Environment level."
default = "dev"
}
variable "application_name" {
type = string
description = "The name of the application"
}
variable "region" {
type = string
description = "Application region."
default = "us-west-2"
}
variable "file_uploads_bucket" {
type = string
description = "The name of the S3 bucket used to store the uploads."
}
variable "virus_scanning_bucket" {
type = string
description = "The name of the S3 bucket used to store virus scanning tools."
}
variable "lambda_s3_bucket" {
type = string
description = "The name of the S3 bucket where the lambda build artifact is stored"
}
variable "logging_bucket" {
type = string
description = "The name of the S3 bucket used for S3 access logs."
default = ""
}
variable "create_logging_bucket" {
type = bool
description = "Whether to create a new bucket for S3 access logs."
default = false
}
variable "av_status_sns_arn" {
type = string
description = "SNS topic ARN to publish scan results to"
}
variable "tags" {
type = map(string)
description = "A map of tags to add to all resources."
default = {}
}
variable "cors_rules" {
description = "List of maps containing rules for Cross-Origin Resource Sharing."
type = list(any)
default = []
}
variable "cloudwatch_logs_retention_days" {
description = "Number of days to keep logs in AWS CloudWatch."
type = string
default = 90
}
variable "s3_logs_retention_days" {
description = "Number of days to keep logs in S3."
type = string
default = 90
}