runtheops / ssm-diff

A human-friendly way of managing parameters in AWS SSM
MIT License
46 stars 25 forks source link

Replace -p with ENV Variable #15

Open ambsw-technology opened 5 years ago

ambsw-technology commented 5 years ago

It seems to me that the following will result in the deletion of many keys:

It would be easy to forget to append the -p flag. If this would result in massive deletions, it seems like a very dangerous design. I suggest moving the -p behavior into an ENV variable. This ensures that it must be deliberately altered, not merely forgotten.

ambsw-technology commented 5 years ago

Obviously, this change would require a syntactical change. I propose to accept ; and : as SSM path separators so the syntax parallels the PATH definitions on windows and linux.