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: modules/cluster/README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -173,16 +173,16 @@ No modules.
173
173
| <aname="input_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#input\_cloudwatch\_log\_group\_name)| Custom name of CloudWatch Log Group for ECS cluster |`string`|`null`| no |
174
174
| <aname="input_cloudwatch_log_group_retention_in_days"></a> [cloudwatch\_log\_group\_retention\_in\_days](#input\_cloudwatch\_log\_group\_retention\_in\_days)| Number of days to retain log events |`number`|`90`| no |
175
175
| <aname="input_cloudwatch_log_group_tags"></a> [cloudwatch\_log\_group\_tags](#input\_cloudwatch\_log\_group\_tags)| A map of additional tags to add to the log group created |`map(string)`|`{}`| no |
176
-
| <aname="input_cluster_configuration"></a> [cluster\_configuration](#input\_cluster\_configuration)| The execute command configuration for the cluster |`any`|`{}`| no |
177
-
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| Name of the cluster (up to 255 letters, numbers, hyphens, and underscores) |`string`|`""`| no |
178
-
| <aname="input_cluster_service_connect_defaults"></a> [cluster\_service\_connect\_defaults](#input\_cluster\_service\_connect\_defaults)| Configures a default Service Connect namespace |`map(string)`|`{}`| no |
179
-
| <aname="input_cluster_settings"></a> [cluster\_settings](#input\_cluster\_settings)| List of configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster |`any`| <pre>[<br/> {<br/> "name": "containerInsights",<br/> "value": "enabled"<br/> }<br/>]</pre> | no |
| <aname="input_create"></a> [create](#input\_create)| Determines whether resources will be created (affects all resources) |`bool`|`true`| no |
181
178
| <aname="input_create_cloudwatch_log_group"></a> [create\_cloudwatch\_log\_group](#input\_create\_cloudwatch\_log\_group)| Determines whether a log group is created by this module for the cluster logs. If not, AWS will automatically create one if logging is enabled |`bool`|`true`| no |
182
179
| <aname="input_create_task_exec_iam_role"></a> [create\_task\_exec\_iam\_role](#input\_create\_task\_exec\_iam\_role)| Determines whether the ECS task definition IAM role should be created |`bool`|`false`| no |
183
180
| <aname="input_create_task_exec_policy"></a> [create\_task\_exec\_policy](#input\_create\_task\_exec\_policy)| Determines whether the ECS task definition IAM policy should be created. This includes permissions included in AmazonECSTaskExecutionRolePolicy as well as access to secrets and SSM parameters |`bool`|`true`| no |
184
181
| <aname="input_default_capacity_provider_use_fargate"></a> [default\_capacity\_provider\_use\_fargate](#input\_default\_capacity\_provider\_use\_fargate)| Determines whether to use Fargate or autoscaling for default capacity provider strategy |`bool`|`true`| no |
185
182
| <aname="input_fargate_capacity_providers"></a> [fargate\_capacity\_providers](#input\_fargate\_capacity\_providers)| Map of Fargate capacity provider definitions to use for the cluster |`any`|`{}`| no |
183
+
| <aname="input_name"></a> [name](#input\_name)| Name of the cluster (up to 255 letters, numbers, hyphens, and underscores) |`string`|`""`| no |
184
+
| <aname="input_service_connect_defaults"></a> [service\_connect\_defaults](#input\_service\_connect\_defaults)| Configures a default Service Connect namespace | <pre>object({<br/> namespace = string<br/> })</pre> |`null`| no |
185
+
| <aname="input_settings"></a> [settings](#input\_settings)| List of configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster | <pre>list(object({<br/> name = string<br/> value = string<br/> }))</pre> | <pre>[<br/> {<br/> "name": "containerInsights",<br/> "value": "enabled"<br/> }<br/>]</pre> | no |
186
186
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
187
187
| <aname="input_task_exec_iam_role_description"></a> [task\_exec\_iam\_role\_description](#input\_task\_exec\_iam\_role\_description)| Description of the role |`string`|`null`| no |
188
188
| <aname="input_task_exec_iam_role_name"></a> [task\_exec\_iam\_role\_name](#input\_task\_exec\_iam\_role\_name)| Name to use on IAM role created |`string`|`null`| no |
cloud_watch_log_group_name ="placeholder"# will use CloudWatch log group created by module
46
+
}
47
+
}
48
+
}
49
+
}
50
+
51
+
variable"service_connect_defaults" {
52
+
description="Configures a default Service Connect namespace"
53
+
type=object({
54
+
namespace =string
55
+
})
56
+
default=null
27
57
}
28
58
29
-
variable"cluster_settings" {
59
+
variable"settings" {
30
60
description="List of configuration block(s) with cluster settings. For example, this can be used to enable CloudWatch Container Insights for a cluster"
31
-
type=any
61
+
type=list(object({
62
+
name =string
63
+
value =string
64
+
}))
32
65
default=[
33
66
{
34
67
name ="containerInsights"
@@ -37,12 +70,6 @@ variable "cluster_settings" {
37
70
]
38
71
}
39
72
40
-
variable"cluster_service_connect_defaults" {
41
-
description="Configures a default Service Connect namespace"
0 commit comments