Skip to content

Automate browser based workflows with AI

add enableExecuteCommand option to the run_task function (#2918)

Shuchang Zhengabfdf8964a64
diff --git a/skyvern/forge/sdk/api/aws.py b/skyvern/forge/sdk/api/aws.py
index a99222efc..58ba2a0a3 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: