aws / aws/aws-toolkit-azure-devops

15 Minute Token Time out at AWS Shell Script task

Open
#429 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When running the [AWS Shell Script task](https://docs.aws.amazon.com/de_de/vsts/latest/userguide/awsshell.html) after 15 Minutes the calls will abort because of the End of Life of the Token.

**To reproduce**
Build pipeline with an [AWS Shell Script task](https://docs.aws.amazon.com/de_de/vsts/latest/userguide/awsshell.html).
in this task make a loop that makes a call every minute with the cli and the call after 15 Minutes will throw a Time out (The security token included in the request is expired)

**Expected behavior**
The Token exiration period is longer than 15 Minutes or it can be set in the Task.

**Your Environment**

- On-prem or cloud based?: cloud Based
- Azure DevOps version: latest
- AWS Toolkit for Azure DevOps version: latest

Contributor guide

Open the contributing guide

Research direction

Start at the AWS Shell Script task and reproduce the pipeline loop described in the issue, using the linked AWS documentation for task context. Trace where the task obtains and reuses its token; done means calls continuing past 15 minutes no longer fail, or the task exposes the requested token-duration setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, azure, typescript
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.