Skip to content

Commit 466529d

Browse files
author
Abdul Wahid
authored
fix: setting task_health_command to null (#49)
* fix: setting task_health_command to null * chore: update changelog + readme
1 parent 9409b62 commit 466529d

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
args: ['--allow-missing-credentials']
1919
- id: trailing-whitespace
2020
- repo: git://github.com/antonbabenko/pre-commit-terraform
21-
rev: v1.60.0
21+
rev: v1.61.0
2222
hooks:
2323
- id: terraform_fmt
2424
- id: terraform_docs

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
55
<a name="unreleased"></a>
66
## [Unreleased]
77

8-
- Break down task health check into two variables
8+
- fix: setting task_health_command to null
9+
10+
11+
<a name="6.4.1"></a>
12+
## [6.4.1] - 2021-12-11
13+
14+
- Break down task health check into two variables ([#48](https://github.com/umotif-public/terraform-aws-ecs-fargate/issues/48))
915

1016

1117
<a name="6.4.0"></a>
@@ -218,7 +224,8 @@ All notable changes to this project will be documented in this file.
218224
- Initial commit
219225

220226

221-
[Unreleased]: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.0...HEAD
227+
[Unreleased]: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.1...HEAD
228+
[6.4.1]: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.4.0...6.4.1
222229
[6.4.0]: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.3.0...6.4.0
223230
[6.3.0]: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.2.2...6.3.0
224231
[6.2.2]: https://github.com/umotif-public/terraform-aws-ecs-fargate/compare/6.2.1...6.2.2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ No modules.
165165
| <a name="input_task_definition_ephemeral_storage"></a> [task\_definition\_ephemeral\_storage](#input\_task\_definition\_ephemeral\_storage) | The total amount, in GiB, of ephemeral storage to set for the task. | `number` | `0` | no |
166166
| <a name="input_task_definition_memory"></a> [task\_definition\_memory](#input\_task\_definition\_memory) | The soft limit (in MiB) of memory to reserve for the task. | `number` | `512` | no |
167167
| <a name="input_task_health_check"></a> [task\_health\_check](#input\_task\_health\_check) | An optional healthcheck definition for the task | `map(number)` | `null` | no |
168-
| <a name="input_task_health_command"></a> [task\_health\_command](#input\_task\_health\_command) | A string array representing the command that the container runs to determine if it is healthy. | `list(string)` | <pre>[<br> ""<br>]</pre> | no |
168+
| <a name="input_task_health_command"></a> [task\_health\_command](#input\_task\_health\_command) | A string array representing the command that the container runs to determine if it is healthy. | `list(string)` | `null` | no |
169169
| <a name="input_task_host_port"></a> [task\_host\_port](#input\_task\_host\_port) | The port number on the container instance to reserve for your container. | `number` | `0` | no |
170170
| <a name="input_task_mount_points"></a> [task\_mount\_points](#input\_task\_mount\_points) | The mount points for data volumes in your container. Each object inside the list requires "sourceVolume", "containerPath" and "readOnly". For more information see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html | `list(object({ sourceVolume = string, containerPath = string, readOnly = bool }))` | `null` | no |
171171
| <a name="input_task_pseudo_terminal"></a> [task\_pseudo\_terminal](#input\_task\_pseudo\_terminal) | Allocate TTY in the container | `bool` | `null` | no |

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ variable "volume" {
220220
variable "task_health_command" {
221221
type = list(string)
222222
description = "A string array representing the command that the container runs to determine if it is healthy."
223-
default = [""]
223+
default = null
224224
}
225225

226226
variable "task_health_check" {

0 commit comments

Comments
 (0)