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
*[ECS Fargate with EFS](https://github.com/umotif-public/terraform-aws-ecs-fargate/tree/master/examples/fargate-efs)
77
+
*[ECS Service with multiple target groups](https://github.com/umotif-public/terraform-aws-ecs-fargate/tree/master/examples/multiple-target-groups)
70
78
71
79
## Authors
72
80
@@ -94,14 +102,13 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](http
94
102
| cluster\_id | The Amazon Resource Name (ARN) that identifies the cluster. |`string`| n/a | yes |
95
103
| container\_name | Optional name for the container to be used instead of name\_prefix. |`string`|`""`| no |
96
104
| create\_repository\_credentials\_iam\_policy | Set to true if you are specifying `repository_credentials` variable, it will attach IAM policy with necessary permissions to task role. |`bool`|`false`| no |
97
-
| deployment\_controller\_type | Type of deployment controller. Valid values: CODE\_DEPLOY, ECS. |`string`|`"ECS"`| no |
105
+
| deployment\_controller\_type | Type of deployment controller. Valid values: CODE\_DEPLOY, ECS, EXTERNAL. Default: ECS. |`string`|`"ECS"`| no |
98
106
| deployment\_maximum\_percent | The upper limit of the number of running tasks that can be running in a service during a deployment |`number`|`200`| no |
99
107
| deployment\_minimum\_healthy\_percent | The lower limit of the number of running tasks that must remain running and healthy in a service during a deployment |`number`|`50`| no |
100
108
| desired\_count | The number of instances of the task definitions to place and keep running. |`number`|`1`| no |
101
109
| force\_new\_deployment | Enable to force a new task deployment of the service. This can be used to update tasks to use a newer Docker image with same image/tag combination (e.g. myimage:latest), roll Fargate tasks onto a newer platform version. |`bool`|`false`| no |
102
110
| health\_check | A health block containing health check settings for the target group. Overrides the defaults. |`map(string)`| n/a | yes |
103
111
| health\_check\_grace\_period\_seconds | Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown, up to 7200. Only valid for services configured to use load balancers. |`number`|`300`| no |
104
-
| lb\_arn | Arn for the LB for which the service should be attach to. |`string`| n/a | yes |
105
112
| load\_balanced | Whether the task should be loadbalanced. |`bool`|`true`| no |
106
113
| log\_retention\_in\_days | Number of days the logs will be retained in CloudWatch. |`number`|`30`| no |
107
114
| logs\_kms\_key | The KMS key ARN to use to encrypt container logs. |`string`|`""`| no |
@@ -116,7 +123,7 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](http
116
123
| service\_registry\_arn | ARN of aws\_service\_discovery\_service resource |`string`|`""`| no |
117
124
| sg\_name\_prefix | A prefix used for Security group name. |`string`|`""`| no |
118
125
| tags | A map of tags (key-value pairs) passed to resources. |`map(string)`|`{}`| no |
119
-
| target\_group\_name| The name for the tasks target group |`string`|`""`| no |
126
+
| target\_groups| The name of the target groups to associate with ecs service |`any`|`[]`| no |
120
127
| task\_container\_assign\_public\_ip | Assigned public IP to the container. |`bool`|`false`| no |
121
128
| task\_container\_command | The command that is passed to the container. |`list(string)`|`[]`| no |
122
129
| task\_container\_cpu | Amount of CPU to reserve for the container. |`number`|`null`| no |
0 commit comments