Skip to content

Commit

Permalink
deploy/tf: fix container health_check + update .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Dec 19, 2023
1 parent e8be96d commit dafaf98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,5 @@ venv.bak/
**/.terragrunt-cache/
*.tfstate
*.tfstate.*
terragrunt-debug.tfvars.json
terragrunt_rendered.json
6 changes: 3 additions & 3 deletions deploy/tf/service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ locals {
"${var.ecr_registry}/${var.ecr_repository}@${var.image}" :
"${var.ecr_registry}/${var.ecr_repository}:${var.image}"
)
health_check = {
command = length(var.app_health_check) > 0 ? split(",", var.app_health_check) : []
}
health_check = length(var.app_health_check) > 0 ? {
command = split(",", var.app_health_check)
} : {}
readonly_root_filesystem = false
essential = true
memory_reservation = 256
Expand Down

0 comments on commit dafaf98

Please sign in to comment.