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: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,10 @@ Check the section "Other modules that you may need to use this module" for detai
34
34
* region: AWS Region the infrastructure is hosted in.
35
35
* ecs_cluster_arn: The ECS Cluster where the scheduled task will run.
36
36
* event_rule_name: The rule's name.
37
-
* ecs_execution_task_role_arn: The task definition execution role.
37
+
* event_target_ecs_target_subnets: The subnets associated with the task or service.
38
+
* event_target_ecs_target_task_definition_arn: The ARN of the task definition to use if the event target is an Amazon ECS cluster.
38
39
* event_rule_schedule_expression: (Required, if event_pattern isn't specified) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes).
39
40
* event_rule_event_pattern: (Required, if schedule_expression isn't specified) Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details.
40
-
* event_target_ecs_target_task_definition_arn: The ARN of the task definition to use if the event target is an Amazon ECS cluster.
41
-
* event_target_ecs_target_subnets: The subnets associated with the task or service.
42
41
* event_rule_description: (Optional) The description of the rule.
43
42
* event_rule_role_arn: (Optional) The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
44
43
* event_rule_is_enabled: (Optional) Whether the rule should be enabled (defaults to true).
Copy file name to clipboardExpand all lines: variables.tf
+21-23Lines changed: 21 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -23,21 +23,24 @@ variable "event_rule_name" {
23
23
description="The rule's name."
24
24
}
25
25
26
-
variable"event_rule_description" {
27
-
description="(Optional) The description of the rule."
28
-
}
29
-
30
26
variable"event_rule_schedule_expression" {
31
27
description="(Required, if event_pattern isn't specified) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes)."
28
+
default=null
32
29
}
33
30
34
31
variable"event_rule_event_pattern" {
35
32
description="(Required, if schedule_expression isn't specified) Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details."
33
+
default=null
34
+
}
35
+
36
+
variable"event_rule_description" {
37
+
description="(Optional) The description of the rule."
38
+
default=null
36
39
}
37
40
38
41
variable"event_rule_role_arn" {
39
42
description="(Optional) The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
40
-
default=""
43
+
default=null
41
44
}
42
45
43
46
variable"event_rule_is_enabled" {
@@ -53,28 +56,28 @@ variable "ecs_cluster_arn" {
53
56
description="The ECS Cluster where the scheduled task will run"
54
57
}
55
58
59
+
variable"event_target_ecs_target_subnets" {
60
+
description="The subnets associated with the task or service."
0 commit comments