Skip to content

Commit

Permalink
changed default value
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomoutinho committed Jul 27, 2023
1 parent 9879f24 commit fdf24fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ This repository contains Terraform infrastructure code which creates AWS resourc
| <a name="input_ecs_linux_parameters"></a> [ecs\_linux\_parameters](#input\_ecs\_linux\_parameters) | Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more details, see https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LinuxParameters.html | <pre>object({<br> capabilities = object({<br> add = list(string)<br> drop = list(string)<br> })<br> devices = list(object({<br> containerPath = string<br> hostPath = string<br> permissions = list(string)<br> }))<br> initProcessEnabled = bool<br> maxSwap = number<br> sharedMemorySize = number<br> swappiness = number<br> tmpfs = list(object({<br> containerPath = string<br> mountOptions = list(string)<br> size = number<br> }))<br> })</pre> | `null` | no |
| <a name="input_ecs_mount_points"></a> [ecs\_mount\_points](#input\_ecs\_mount\_points) | (Optional) Container mount points. This is a list of maps, where each map should contain `containerPath`, `sourceVolume` and `readOnly` | <pre>list(object({<br> containerPath = string<br> sourceVolume = string<br> readOnly = bool<br> }))</pre> | `[]` | no |
| <a name="input_ecs_pseudo_terminal"></a> [ecs\_pseudo\_terminal](#input\_ecs\_pseudo\_terminal) | When this parameter is true, a TTY is allocated. | `bool` | `null` | no |
| <a name="input_ecs_requires_compatibilities"></a> [ecs\_requires\_compatibilities](#input\_ecs\_requires\_compatibilities) | A list of requires\_compatibilities | `list(string)` | <pre>[<br> "FARGATE"<br>]</pre> | no |
| <a name="input_ecs_service_assign_public_ip"></a> [ecs\_service\_assign\_public\_ip](#input\_ecs\_service\_assign\_public\_ip) | Should be true, if ECS service is using public subnets (more info: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_cannot_pull_image.html) | `bool` | `false` | no |
| <a name="input_ecs_service_deployment_maximum_percent"></a> [ecs\_service\_deployment\_maximum\_percent](#input\_ecs\_service\_deployment\_maximum\_percent) | The upper limit (as a percentage of the service's desiredCount) of the number of running tasks that can be running in a service during a deployment | `number` | `200` | no |
| <a name="input_ecs_service_deployment_minimum_healthy_percent"></a> [ecs\_service\_deployment\_minimum\_healthy\_percent](#input\_ecs\_service\_deployment\_minimum\_healthy\_percent) | The lower limit (as a percentage of the service's desiredCount) of the number of running tasks that must remain running and healthy in a service during a deployment | `number` | `50` | no |
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ variable "ecs_cluster_name" {
variable "ecs_requires_compatibilities" {
type = list(string)
description = "A list of requires_compatibilities"
default = ["FARGATE", "EC2"]
default = ["FARGATE"]
}

variable "ecs_capacity_provider" {
Expand Down

0 comments on commit fdf24fa

Please sign in to comment.