aws / aws/aws-toolkit-azure-devops

AWSServiceConnection Role ARN string allows whitespace.

Open
#313 0 comments 1 reaction 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Role to assume (optional) field allows whitespace, This is pretty hard to troubleshoot so I thought I'd mention it.

https://github.com/aws/aws-vsts-tools/blob/master/Tasks/Common/awsConnectionParameters.ts
(awsparams.AssumeRoleARN)

Contributor guide

Open the contributing guide

Research direction

Read Tasks/Common/awsConnectionParameters.ts and trace awsparams.AssumeRoleARN from the AWSServiceConnection inputs. Reproduce the whitespace case first, then inspect the surrounding validation and tests to establish done as consistent handling of whitespace in the optional Role to assume field.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.