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

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen