我正在尝试使用Terraform和ALB来配置ECS集群。目标出现为Unhealthy。在控制台Health checks failed with these codes: [502]中,错误代码是502,我查看了亚马逊网络服务故障排除指南,但没有任何帮助。它是一个普通的ECS集群。# There is a security group rule for the EC2 instances that allows ingress traffic to the ECS clustersource_security_group