forked from plus3it/terraform-aws-codecommit-pr-reminders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
34 lines (29 loc) · 941 Bytes
/
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
variable "name" {
description = "(Optional) Name to associate with the lambda function"
type = string
default = "codecommit-pr-reminders"
}
variable "schedule" {
description = "(Optional) Schedule expression for CloudWatch event; see <https://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html>"
type = string
default = "cron(0 7 ? * MON-FRI *)"
}
variable "hook_url" {
description = "Slack webhook URL; see <https://api.slack.com/incoming-webhooks>"
type = string
}
variable "tags" {
description = "Tags to add to the supported resources"
type = map(any)
default = {}
}
variable "log_level" {
type = string
default = "INFO"
description = "The log level of the lambda function"
}
variable "dry_run" {
type = bool
default = false
description = "toggle to control dryrun output of the lambda function"
}