When CodePipeline creates a new ECS task definition revision, the container portMapping name is removed preventing Service Discovery from working.

0

This smells like a bug. If I revert to the previous task definition and manually deploy the new container, it works. This is a fargate container.

Initial State after the Cloudformation Deployment runs and the task definition is created Enter image description here

After pushing a change to run the pipeline, the deployment step fails because portName doesn't match in the newly created revision: Enter image description here

Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions