aws / aws/aws-toolkit-azure-devops

Feature Request: Trim leading SSM Parameter slash

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

Description

**Summary**

```
Task: SystemsManagerGetParameter@1
Tool Version: 1.5.0
```

When I am using the SystemsManagerGetParameter task and select `hierarchy` for the readMode and then select `substitute` for the transform, it will take something like /system/subsystem/web/ip and set it to the Azure Variable: `/SYSTEM/SUBSYSTEM/WEB/URL`.

If I was to specify something like `/` as the pattern and `_` as the replace text, it turns into `_SYSTEM_SUBSYSTEM_WEB_ULR`.

This does not conform to all of the other variables that are included or created by other tasks. They all start with a letter.

**Desired Solution**
Allow one of the following, always remove the preceding slash or allow for optional removal of the

**Alternatives**
The only alternative I could find was to pull each parameter one at a time and use the custom name feature.

Contributor guide

Open the contributing guide

Research direction

The issue identifies SystemsManagerGetParameter@1 and the hierarchy/substitute path; start by locating that task’s readMode and transform handling and reproduce the /system/subsystem/web/ip example. Done means the transformed Azure variable no longer has a leading slash, or slash removal is optional as specified, with behavior verified for the stated pattern and replacement.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.