---
title: "Comment by Devin on \"EventBridge Scheduler- Start/Stop ECS instance\" | Hashnode"
description: "I&#39;m not sure if something has changed, but I can&#39;t get Terraform to accept ecs:UpdateService as a valid target. &quot;The api UpdateService is not valid"
url: "https://hashnode.com/posts/eventbridge-scheduler-startstop-ecs-instance/63e1096e06d2b958e0ad294c/comment/6481e17501ac514fcc050e27"
---

[Discussion](https://hashnode.com/posts/eventbridge-scheduler-startstop-ecs-instance/63e1096e06d2b958e0ad294c)

Comment [EventBridge Scheduler- Start/Stop ECS instance](https://hashnode.com/posts/eventbridge-scheduler-startstop-ecs-instance/63e1096e06d2b958e0ad294c)

[Devin](https://hashnode.com/@kromak)

[Jun 8, 2023](https://hashnode.com/posts/eventbridge-scheduler-startstop-ecs-instance/63e1096e06d2b958e0ad294c/comment/6481e17501ac514fcc050e27)

I'm not sure if something has changed, but I can't get Terraform to accept ecs:UpdateService as a valid target.

"The api UpdateService is not valid for the service aws-sdk:ecs"

[Rakesh](https://hashnode.com/@awsmantra)

[Jun 10, 2023](https://hashnode.com/posts/eventbridge-scheduler-startstop-ecs-instance/63e1096e06d2b958e0ad294c/comment/6481e17501ac514fcc050e27#reply-64849f1a58499e6dcfbc6eab)

Not sure about Terraform but we use Start/Stop our environment everyday with UpdateService
