-
Notifications
You must be signed in to change notification settings - Fork 10
/
variables.tf
31 lines (27 loc) · 1.07 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
variable "name" {
description = "Name of the resource share"
type = string
}
variable "allow_external_principals" {
description = "Boolean indicating whether principals outside the AWS organization can be associated with the resource share"
type = bool
default = false
}
variable "principals" {
description = "List of principals to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN."
type = list(string)
default = []
}
variable "resources" {
description = "Schema list of resources to associate to the resource share"
type = list(object({
name = string # used as for_each key; cannot be an attribute of a resource in the same tfstate
resource_arn = string # ARN of the resource to associate with the share; *can* be an attribute of a resource in the same tfstate
}))
default = []
}
variable "tags" {
description = "Map of tags to assign to the resource share"
type = map(string)
default = {}
}