-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
40 lines (34 loc) · 982 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
40
variable "bucket_policy" {
description = "Override the resource policy on the bucket"
type = string
default = null
}
variable "name" {
type = string
description = "The name of the s3 bucket"
}
variable "tags" {
type = map(string)
description = "Tags to be applied to created resources"
default = {}
}
variable "read_principals" {
description = "Principal allowed to read from the bucket (default: current account)"
type = list(string)
default = []
}
variable "read_tags" {
description = "Tags required on principals reading to the bucket"
type = map(string)
default = {}
}
variable "readwrite_principals" {
description = "Principal allowed to read and write to the bucket (default: current account)"
type = list(string)
default = []
}
variable "readwrite_tags" {
description = "Tags required on principals writing to the bucket"
type = map(string)
default = {}
}