teller icon indicating copy to clipboard operation
teller copied to clipboard

AWS SSM (parameter store) sync by path

Open david-heward-unmind opened this issue 3 years ago • 3 comments

Feature Request

Correct me if I am wrong, but it would appear that it is currently not possible to sync from AWS SSM parameter store based on the path. Is this on the roadmap? Often its useful to take a path and translate parameters under these paths to env variables. Could we get this on the roadmap?

I specifically meaning syncing all parameters recursively below a path i.e. using aws ssm get-parameters-by-path and setting those to appropriately named env vars? i.e. uppercase, underscores, etc

I guess it would mean implementing sync https://github.com/tellerops/teller/blob/bdea7e096c4319a27d5a26187f08bfac8fe32f76/pkg/providers/aws_ssm.go#L77

david-heward-unmind avatar Jan 09 '23 15:01 david-heward-unmind

Is this project being actively developed? 3+ months and not even a "wont fix" ACK. Although a useful tool it lacks depth for each provider and it needs more attention for it to be useful in real world situations.

david-heward-unmind avatar Apr 19 '23 17:04 david-heward-unmind

yes it is, happy to jump on a zoom session with you some time next week, and learn about your use case. would that make sense for you?

jondot avatar Apr 19 '23 18:04 jondot

@jondot I am not sure that would be required in this instance. To me, it's a fairly simple issue to overcome, we are talking here about simply adding the ability for AWS SSM parameter store parameters to be looked up by partial path. i.e. /dev/, which would translate anything discovered by the final segment of the /dev/var1, /dev/platform/var2 etc into env vars. There are already existing methods for you to retrieve, aws cli has get-parameters-by-path.

I believe you are calling this feature sync

david-heward-unmind avatar Apr 20 '23 08:04 david-heward-unmind

should be resolved now via Teller 2.0 reimplementation of AWS SSM, thanks!

jondot avatar May 15 '24 09:05 jondot