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
{{ message }}
This repository was archived by the owner on Jul 25, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+37-24Lines changed: 37 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,41 +38,51 @@ Module is to be used with Terraform > 0.12.
38
38
Module managed by [Marcin Cuber](https://github.com/marcincuber)[LinkedIn](https://www.linkedin.com/in/marcincuber/).
39
39
40
40
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
41
+
## Requirements
42
+
43
+
No requirements.
44
+
45
+
## Providers
46
+
47
+
| Name | Version |
48
+
|------|---------|
49
+
| aws | n/a |
50
+
41
51
## Inputs
42
52
43
53
| Name | Description | Type | Default | Required |
44
-
|------|-------------|:----:|:-----:|:-----:|
45
-
| ecs\_cluster\_arn | The ECS Cluster where the scheduled task will be running |string| n/a | yes |
46
-
| event\_rule\_description | The description of the rule. |string|`"null"`| no |
47
-
| 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. |string|`"null"`| no |
48
-
| event\_rule\_is\_enabled | Whether the rule should be enabled. | bool |`"true"`| no |
49
-
| event\_rule\_name | The rule's name. | string |`""`| no |
50
-
| event\_rule\_role\_arn | The Amazon Resource Name \(ARN\) associated with the role that is used for target invocation. |string|`"null"`| no |
51
-
| event\_rule\_schedule\_expression |\(Required, if event\_pattern isn't specified\) The scheduling expression. For example, cron\(0 20 \*\* ? \*\) or rate\(5 minutes\). |string|`"null"`| no |
52
-
| event\_target\_assign\_public\_ip | Assign a public IP address to the ENI \(Fargate launch type only\). Valid values are true or false. Default false. | bool |`"false"`| no |
53
-
| event\_target\_group | Specifies an ECS task group for the task. The maximum length is 255 characters. |string|`"null"`| no |
54
-
| event\_target\_id | The unique target assignment ID. If missing, will generate a random, unique id. |string|`"null"`| no |
55
-
| event\_target\_input | Valid JSON text passed to the target. |string|`"null"`| no |
56
-
| event\_target\_input\_path | The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. |string|`"null"`| no |
57
-
| event\_target\_platform\_version | 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 | string |`"LATEST"`| no |
58
-
| event\_target\_security\_groups | 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. | list |`[]`| no |
59
-
| event\_target\_subnets | The subnets associated with the task or service. | list | n/a | yes |
60
-
| event\_target\_task\_count | The number of tasks to create based on the TaskDefinition. The default is 1. | number |`"1"`| no |
61
-
| event\_target\_task\_definition\_arn | The ARN of the task definition to use if the event target is an Amazon ECS cluster. |string| n/a | yes |
62
-
| execution\_role\_arn | ARN of IAM Role for task execution \(see: https://docs.aws.amazon.com/ja\_jp/AmazonECS/latest/developerguide/task\_execution\_IAM\_role.html\)| string |`""`| no |
63
-
| name\_prefix | Name prefix for resources on AWS. |string| n/a | yes |
64
-
| tags | A map of tags \(key-value pairs\) passed to resources. | map(string) |`{}`| no |
65
-
| task\_role\_arn | ARN of IAM Role for task \(see: https://docs.aws.amazon.com/ja\_jp/AmazonECS/latest/developerguide/task-iam-roles.html\)|string| n/a | yes |
| ecs\_cluster\_arn | The ECS Cluster where the scheduled task will be running |`any`| n/a | yes |
56
+
| event\_rule\_description | The description of the rule. |`any`|`null`| no |
57
+
| 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. |`any`|`null`| no |
58
+
| event\_rule\_is\_enabled | Whether the rule should be enabled. |`bool`|`true`| no |
59
+
| event\_rule\_name | The rule's name. |`string`|`""`| no |
60
+
| event\_rule\_role\_arn | The Amazon Resource Name (ARN) associated with the role that is used for target invocation. |`any`|`null`| no |
61
+
| event\_rule\_schedule\_expression | (Required, if event\_pattern isn't specified) The scheduling expression. For example, cron(0 20 \*\* ? \*) or rate(5 minutes). |`any`|`null`| no |
62
+
| event\_target\_assign\_public\_ip | Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false. |`bool`|`false`| no |
63
+
| event\_target\_group | Specifies an ECS task group for the task. The maximum length is 255 characters. |`any`|`null`| no |
64
+
| event\_target\_id | The unique target assignment ID. If missing, will generate a random, unique id. |`any`|`null`| no |
65
+
| event\_target\_input | Valid JSON text passed to the target. |`any`|`null`| no |
66
+
| event\_target\_input\_path | The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. |`any`|`null`| no |
67
+
| event\_target\_platform\_version | 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 |`string`|`"LATEST"`| no |
68
+
| event\_target\_security\_groups | 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. |`list`|`[]`| no |
69
+
| event\_target\_subnets | The subnets associated with the task or service. |`list`| n/a | yes |
70
+
| event\_target\_task\_count | The number of tasks to create based on the TaskDefinition. The default is 1. |`number`|`1`| no |
71
+
| event\_target\_task\_definition\_arn | The ARN of the task definition to use if the event target is an Amazon ECS cluster. |`any`| n/a | yes |
72
+
| execution\_role\_arn | ARN of IAM Role for task execution (see: https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/task_execution_IAM_role.html ) |`string`|`""`| no |
73
+
| name\_prefix | Name prefix for resources on AWS. |`any`| n/a | yes |
74
+
| tags | A map of tags (key-value pairs) passed to resources. |`map(string)`|`{}`| no |
75
+
| task\_role\_arn | ARN of IAM Role for task (see: https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/task-iam-roles.html ) |`any`| n/a | yes |
66
76
67
77
## Outputs
68
78
69
79
| Name | Description |
70
80
|------|-------------|
71
-
| aws\_cloudwatch\_event\_rule\_event\_rule\_arn | The Amazon Resource Name \(ARN\) of the CloudWatch Event Rule. |
81
+
| aws\_cloudwatch\_event\_rule\_event\_rule\_arn | The Amazon Resource Name (ARN) of the CloudWatch Event Rule. |
72
82
| aws\_iam\_role\_policy\_id | The role policy ID, in the form of role\_name:role\_policy\_name. |
73
83
| aws\_iam\_role\_policy\_name | The name of the policy. |
74
84
| aws\_iam\_role\_policy\_role | The name of the role associated with the policy. |
75
-
| event\_role\_arn | The Amazon Resource Name \(ARN\) specifying the role. |
85
+
| event\_role\_arn | The Amazon Resource Name (ARN) specifying the role. |
76
86
| event\_role\_create\_date | The creation date of the IAM role. |
77
87
| event\_role\_description | The description of the role. |
0 commit comments