mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 05:01:55 +03:00
codepipeline - healthcheck fixes
This commit is contained in:
@@ -25,7 +25,11 @@ resource "aws_ecs_task_definition" "demo" {
|
||||
},
|
||||
"secrets": [],
|
||||
"environment": [],
|
||||
"healthCheck": [ "CMD-SHELL", "curl -f http://localhost:3000/ || exit 1" ],
|
||||
"healthCheck": {
|
||||
"command": [ "CMD-SHELL", "curl -f http://localhost:3000/ || exit 1" ],
|
||||
"interval": 30,
|
||||
"retries": 3
|
||||
},
|
||||
"portMappings": [
|
||||
{
|
||||
"containerPort": 3000,
|
||||
|
||||
Reference in New Issue
Block a user