This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
105 lines (85 loc) · 3.45 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
variable "name_prefix" {
description = "Name prefix for resources on AWS."
}
variable "task_role_arn" {
description = "ARN of IAM Role for task (see: https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/task-iam-roles.html )"
}
variable "execution_role_arn" {
description = "ARN of IAM Role for task execution (see: https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/task_execution_IAM_role.html )"
default = ""
}
variable "event_rule_name" {
description = "The rule's name."
default = ""
}
variable "event_rule_schedule_expression" {
description = "(Required, if event_pattern isn't specified) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes)."
default = null
}
variable "event_rule_event_pattern" {
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."
default = null
}
variable "event_rule_description" {
description = "The description of the rule."
default = null
}
variable "event_rule_role_arn" {
description = "The Amazon Resource Name (ARN) associated with the role that is used for target invocation."
default = null
}
variable "event_rule_is_enabled" {
description = "Whether the rule should be enabled."
type = bool
default = true
}
variable "ecs_cluster_arn" {
description = "The ECS Cluster where the scheduled task will be running"
}
variable "event_target_subnets" {
description = "The subnets associated with the task or service."
type = list
}
variable "event_target_task_definition_arn" {
description = "The ARN of the task definition to use if the event target is an Amazon ECS cluster."
}
variable "event_target_id" {
description = "The unique target assignment ID. If missing, will generate a random, unique id."
default = null
}
variable "event_target_input" {
description = "Valid JSON text passed to the target."
default = null
}
variable "event_target_input_path" {
description = "The value of the JSONPath that is used for extracting part of the matched event when passing it to the target."
default = null
}
variable "event_target_security_groups" {
description = "The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used."
type = list
default = []
}
variable "event_target_assign_public_ip" {
description = "Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false."
type = bool
default = false
}
variable "event_target_task_count" {
description = "The number of tasks to create based on the TaskDefinition. The default is 1."
type = number
default = 1
}
variable "event_target_platform_version" {
description = "Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see AWS Fargate Platform Versions. Default to LATEST"
default = "LATEST"
}
variable "event_target_group" {
description = "Specifies an ECS task group for the task. The maximum length is 255 characters."
default = null
}
variable "tags" {
description = "A map of tags (key-value pairs) passed to resources."
type = map(string)
default = {}
}