From abfdf8964a64d4b26df503430f0fa77e965a8997 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Wed, 9 Jul 2025 18:07:51 -0700 Subject: [PATCH] add enableExecuteCommand option to the run_task function (#2918) --- skyvern/forge/sdk/api/aws.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skyvern/forge/sdk/api/aws.py b/skyvern/forge/sdk/api/aws.py index a99222ef..58ba2a0a 100644 --- a/skyvern/forge/sdk/api/aws.py +++ b/skyvern/forge/sdk/api/aws.py @@ -269,6 +269,7 @@ class AsyncAWSClient: subnets: list[str], security_groups: list[str], assign_public_ip: str = "DISABLED", + enable_execute_command: bool = False, ) -> dict: # https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ecs/client/run_task.html async with self._ecs_client() as client: @@ -283,6 +284,7 @@ class AsyncAWSClient: "assignPublicIp": assign_public_ip, } }, + enableExecuteCommand=enable_execute_command, ) async def stop_task(self, cluster: str, task: str, reason: str | None = None) -> dict: