forked from Smartbrood/terraform-aws-s3-bucket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
58 lines (47 loc) · 1.15 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
variable "s3_fqdn" {
description = "fqdn for s3 bucket"
}
variable "aws_account_id" {
description = "AWS Account Id"
}
variable "aws_username" {
description = "AWS Username"
}
variable "files" {
description = "map s3 keys to files"
type = map(any)
default = {}
}
variable "base64_files" {
description = "map s3 keys to base64 encoded files"
type = map(any)
default = {}
}
variable "tags" {
description = "A mapping of tags to assign to bucket"
default = {}
}
variable "allow_public" {
description = "Allow public read access to bucket"
default = false
}
variable "create_logging_bucket" {
description = "Create a logging bucket (will not create if `loggingBucket` is defined)"
default = true
}
variable "loggingBucket" {
description = "The bucket you want to log S3 access to."
default = ""
}
variable "create_bucket" {
description = "Conditionally create S3 bucket"
default = true
}
variable "upload_files" {
description = "Conditionally upload files"
default = true
}
variable "enable_versioning" {
description = "Conditionally enable versioning"
default = false
}