forked from felipefrizzo/terraform-aws-transfer-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
67 lines (55 loc) · 1.45 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
variable "bucket_name" {
description = "The S3 bucket name"
}
variable "force_destroy" {
description = "Delete all objects in bucket on destroy"
type = bool
default = false
}
variable "public_bucket" {
description = "Allow public read access to bucket"
type = bool
default = false
}
variable "versioned" {
description = "Version the bucket"
type = bool
default = false
}
variable "transfer_server_name" {
description = "Transfer Server name"
}
variable "transfer_server_user_name" {
description = "User name for SFTP server"
}
variable "transfer_server_ssh_key" {
description = "SSH Key for transfer server user"
}
variable "bucket_tags" {
description = "A map of tags to add to all resources"
default = {}
}
variable "cors_allowed_headers" {
type = list
default = ["*"]
description = "List of allowed headers"
}
variable "cors_allowed_methods" {
type = list
default = ["GET"]
description = "List of allowed methods (e.g. `GET, PUT, POST, DELETE, HEAD`)"
}
variable "cors_allowed_origins" {
type = list
default = ["*"]
description = "List of allowed origins (e.g. `example.com, test.com`)"
}
variable "cors_expose_headers" {
type = list
default = ["ETag"]
description = "List of expose header in the response"
}
variable "cors_max_age_seconds" {
default = "3600"
description = "Time in seconds that browser can cache the response"
}