You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+8-3
Original file line number
Diff line number
Diff line change
@@ -99,11 +99,12 @@ variable "rotation" {
99
99
type=object({
100
100
enabled =optional(bool, false)
101
101
lambda_arn =string
102
-
automatically_after_days =number
102
+
automatically_after_days =optional(number, null)
103
+
duration =optional(string, null)
104
+
schedule_expression =optional(string, null)
103
105
})
104
106
default={
105
-
lambda_arn =""
106
-
automatically_after_days =0
107
+
lambda_arn =""
107
108
}
108
109
description=<<-DOC
109
110
enabled:
@@ -113,5 +114,9 @@ variable "rotation" {
113
114
Specifies the ARN of the Lambda function that can rotate the secret.
114
115
automatically_after_days:
115
116
Specifies the number of days between automatic scheduled rotations of the secret.
117
+
duration:
118
+
The length of the rotation window in hours. For example, `3h` for a three hour window.
119
+
schedule_expression:
120
+
A `cron()` or `rate()` expression that defines the schedule for rotating your secret. Either `automatically_after_days` or `schedule_expression` must be specified.
0 commit comments