mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-29 13:02:23 +03:00
codepipeline - healthcheck fixes
This commit is contained in:
@@ -25,7 +25,11 @@ resource "aws_ecs_task_definition" "demo" {
|
|||||||
},
|
},
|
||||||
"secrets": [],
|
"secrets": [],
|
||||||
"environment": [],
|
"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": [
|
"portMappings": [
|
||||||
{
|
{
|
||||||
"containerPort": 3000,
|
"containerPort": 3000,
|
||||||
|
|||||||
Reference in New Issue
Block a user