Closed hanocha closed 2 years ago
Thank you for reporting!
When a deployment controller is CodeDeploy, LoadBalancers are controlled by CodeDeploy. So I think to fix this problem, remove loadBalancers
elements in ecs-service-def.json.
I'll fix ecspresso too.
@hanocha I'm sorry to a wrong comment https://github.com/kayac/ecspresso/issues/393#issuecomment-1063793097 .
AppSpec for CodeDeploy requires LoadBalancerInfo
which generated by loadBalancers
in service definition.
fixed in #394
@fujiwara Thank you for your very fast response and fixing! 😄
Honestly, I came up with a solution like the comment after opening this issue, but I had not had enough time to try it 😢 sorry...
v1.7.10 released! 🙏 https://github.com/kayac/ecspresso/releases/tag/v1.7.10
We tried to deploy an ECS application using B/G deployment with CodeDeploy, by ecspresso v1.7.9, but it was failed with events log below.
By ecspresso v1.7.8, we could deploy the application successfully.
FYI:
ecs-service-def.json
like below. And we didn't update the file, so it should not updates ECS service I think.