aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

Feature Request: Trim leading SSM Parameter slash

Open kylelaverty opened this issue 4 years ago • 1 comments

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.

kylelaverty avatar Feb 27 '20 17:02 kylelaverty

yeah this is a bit weird, an option should be added to trim

hunterwerlla avatar Feb 27 '20 17:02 hunterwerlla