generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathvariables.tf
52 lines (46 loc) · 1.6 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
variable "catalog_database_name" {
type = string
description = "Glue catalog database name. The acceptable characters are lowercase letters, numbers, and the underscore character."
default = null
}
variable "catalog_database_description" {
type = string
description = "Glue catalog database description."
default = null
}
variable "catalog_id" {
type = string
description = "ID of the Glue Catalog to create the database in. If omitted, this defaults to the AWS Account ID."
default = null
}
variable "create_table_default_permission" {
# type = object({
# permissions = list(string)
# principal = object({
# data_lake_principal_identifier = string
# })
# })
# Using `type = any` since some of the the fields are optional and we don't want to force the caller to specify all of them and set to `null` those not used
type = any
description = "Creates a set of default permissions on the table for principals."
default = null
}
variable "location_uri" {
type = string
description = "Location of the database (for example, an HDFS path)."
default = null
}
variable "parameters" {
type = map(string)
description = "Map of key-value pairs that define parameters and properties of the database."
default = null
}
variable "target_database" {
type = object({
# If `target_database` is provided (not `null`), all these fields are required
catalog_id = string
database_name = string
})
description = " Configuration block for a target database for resource linking."
default = null
}