-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
39 lines (33 loc) · 1020 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
38
39
variable "name" {
description = "Name to be used throughout the resources"
type = string
}
variable "enable_versioning" {
description = "Whether Amazon S3 should enable versioning for this bucket."
type = bool
default = false
}
variable "block_public_acls" {
description = "Whether Amazon S3 should block public ACLs for this bucket."
type = bool
default = true
}
variable "block_public_policy" {
description = "Whether Amazon S3 should block public bucket policies for this bucket."
type = bool
default = true
}
variable "ignore_public_acls" {
description = "Whether Amazon S3 should ignore public ACLs for this bucket."
type = bool
default = true
}
variable "restrict_public_buckets" {
description = "Whether Amazon S3 should restrict public bucket policies for this bucket."
type = bool
default = true
}
variable "policy" {
description = "(Optional) A valid bucket policy JSON document."
type = string
}