---
title: "Discussion on \"How to fix unable to update task definition on services with a CODE_DEPLOY deployment controller CDK issue\" | Hashnode"
description: "Discussion on \"How to fix unable to update task definition on services with a CODE_DEPLOY deployment controller CDK issue\". The dependency issue between ECS service and Task definition family can be resolved by adding the following code below ECS service"
url: "https://hashnode.com/posts/how-to-fix-unable-to-update-task-definition-on-services-with-a-codedeploy-deployment-controller-cdk-issue/6500e75d1f078b43ed8181a5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to fix unable to update task definition on services with a CODE\_DEPLOY deployment controller CDK issue](https://blog.learnmorecloud.com/how-to-fix-unable-to-update-task-definition-on-services-with-a-codedeploy-deployment-controller-cdk-issue?utm_source=hashnode&utm_medium=feed)

The dependency issue between ECS service and Task definition family can be resolved by adding the following code below ECS service

Sep 12, 2023 · 2 min read · blog.learnmorecloud.com  
Updated Sep 24, 2023  
Read the article

-   [#aws-cdk](https://hashnode.com/tag/aws-cdk)
-   [#dependency](https://hashnode.com/tag/dependency)
-   [#aws-fargate](https://hashnode.com/tag/aws-fargate)

## Written by

[Vishnu S](https://hashnode.com/@tastyapple)

@tastyapple · Kerala, India

  
[View profile](https://hashnode.com/@tastyapple)

Lead Cloud Engineer, AWS Certified DevOps Professional

## Responses 1

Markdown supported · ⌘↵ to post

[Malavika Manoj](https://hashnode.com/@stayinahead)

[Sep 13, 2023](https://hashnode.com/posts/how-to-fix-unable-to-update-task-definition-on-services-with-a-codedeploy-deployment-controller-cdk-issue/6500e75d1f078b43ed8181a5/comment/650163551c641fd4a40d847d)

What a great post. Thank you for sharing. Following this!

[Vishnu S](https://hashnode.com/@tastyapple)

[Sep 14, 2023](https://hashnode.com/posts/how-to-fix-unable-to-update-task-definition-on-services-with-a-codedeploy-deployment-controller-cdk-issue/6500e75d1f078b43ed8181a5/comment/650163551c641fd4a40d847d#reply-650378c1770802e8a4adce12)

Thank you
