-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
77 lines (64 loc) · 1.84 KB
/
variables.tf
File metadata and controls
77 lines (64 loc) · 1.84 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
variable "admin_principals" {
description = "Principals allowed to peform admin actions (default: current account)"
type = list(string)
default = null
}
variable "alternate_username" {
description = "Username for the alternate login used during rotation"
type = string
default = null
}
variable "database_name" {
description = "Name of the database to connect to"
type = string
}
variable "identifier" {
description = "Identifier of the database for which a login will be managed"
type = string
}
variable "initial_password" {
type = string
description = "ARN of the KMS key used to encrypt the admin login"
}
variable "read_principals" {
description = "Principals allowed to read the secret (default: current account)"
type = list(string)
default = null
}
variable "replica_host" {
description = "Hostname to use when connecting to the database replica"
type = string
default = null
}
variable "secret_name" {
description = "Override the name for this secret"
type = string
default = null
}
variable "security_group_ids" {
description = "Security groups to attach to the rotation function"
type = list(string)
default = []
}
variable "subnet_ids" {
description = "Subnets in which the rotation function should run"
type = list(string)
}
variable "tags" {
description = "Tags to be applied to created resources"
type = map(string)
default = {}
}
variable "trust_tags" {
description = "Tags required on principals accessing the secret"
type = map(string)
default = {}
}
variable "username" {
description = "The username for which a login will be managed"
type = string
}
variable "vpc_id" {
description = "VPC in which the rotation function should run"
type = string
}