The ssm parameter path gets mangled if the service name is hyphenated with title cases.
For eg: ServiceA-UITest -> service-a--u-i-test
This especially affects edit_config.
The culprit is here:
|
return stringcase.spinalcase(name) |
The stringcase library doesn't handle prefixed hyphens. This library in particular has couple of edgecases in the issues section.
Solution
To be backward compatible we can use regex replace and handled special cases like hyphen-caps, caps-caps continuously etc.