mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-29 09:02:13 +03:00
codepipeline-demo: healthcheck
This commit is contained in:
@@ -25,6 +25,7 @@ resource "aws_ecs_task_definition" "demo" {
|
||||
},
|
||||
"secrets": [],
|
||||
"environment": [],
|
||||
"healthCheck": [ "CMD-SHELL", "curl -f http://localhost:3000/ || exit 1" ],
|
||||
"portMappings": [
|
||||
{
|
||||
"containerPort": 3000,
|
||||
|
||||
Reference in New Issue
Block a user