Terraform run task timeout

Hello,

I’ve created a run task and associated it with my workspace. According to the documentation, the result should be sent back within 10 minutes. I’m wondering if it’s possible to extend this time period.

At the 3rd minute, I sent a response to the result callback API indicating that the task is in a running state. I noticed that the task does not fail at the 10th minute but instead times out and moves to an errored state at the 13th minute (since I sent an update at the 3rd minute). However, if I try to send the passed/running/failed state again at the 12th minute, I receive a 401 error, which seems to indicate that the token has expired.

Is there a way to extend the token’s validity or the task’s timeout period? Any guidance would be appreciated.

Thank you!