generated from scaffoldly/terraform-scaffoldly-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
54 lines (44 loc) · 1.46 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
variable "bucket_name_prefix" {
type = string
description = "A prefix name for the bucket"
}
variable "bucket_name_random_suffix" {
type = bool
default = true
description = "Set the bucket name to be suffixed with a random string"
}
variable "read_only_principals" {
default = []
description = "The ARNs of users/roles/etc that have read-only access to the bucket"
}
variable "read_write_principals" {
default = []
description = "The ARNs of users/roles/etc that have read-write access to the bucket"
}
variable "write_only_principals" {
default = []
description = "The ARNs of users/roles/etc that have write-only access to the bucket"
}
variable "read_only_services" {
default = []
description = "The AWS services that have read-only access to the bucket (e.g. ses.amazonaws.com, lambda.amazonaws.com)"
}
variable "read_only_services_condition" {
type = map(any)
default = {}
}
variable "write_only_services" {
default = []
description = "The AWS services that have write-only access to the bucket (e.g. ses.amazonaws.com, lambda.amazonaws.com)"
}
variable "root_principal" {
default = "root"
description = "The root prinicipal. In most cases leave this as 'root'"
}
variable "notification_prefixes" {
default = []
description = "The object prefixes to create SNS notifications for (e.g. ['folder1/', 'folder2/'] or [''] for everything)"
}
variable "public_access" {
default = false
}