forked from clouddrove/terraform-aws-cloudwatch-event-rule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
91 lines (77 loc) · 2.48 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "application" {
type = string
default = ""
description = "Application (e.g. `cd` or `clouddrove`)."
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "managedby" {
type = string
default = "[email protected]"
description = "ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'."
}
variable "label_order" {
type = list
default = []
description = "Label order, e.g. `name`,`application`."
}
#Module : CLOUDWATCH METRIC ALARM
#Description : Provides a CloudWatch Metric Alarm resource.
variable "enabled" {
type = bool
default = true
description = "Enable event."
}
variable "description" {
type = string
default = ""
description = "The description for the rule."
}
variable "schedule_expression" {
default = null
description = "(if event_pattern isn't specified) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes)."
}
variable "event_pattern" {
default = null
description = "(schedule_expression isn't specified) Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details."
}
variable "role_arn" {
type = string
default = ""
description = "The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
}
variable "is_enabled" {
type = bool
default = true
description = "Whether the rule should be enabled (defaults to true)."
}
variable "target_id" {
type = string
default = ""
description = "The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
}
variable "arn" {
type = string
default = ""
description = "The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
}
variable "input_path" {
type = string
default = ""
description = "The value of the JSONPath that is used for extracting part of the matched event when passing it to the target."
}
variable "target_role_arn" {
type = string
default = ""
description = "The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if ecs_target is used."
}