It seems to me that the following will result in the deletion of many keys:
ssm-diff init -p "a/b/c"
ssm-diff plan -p "a/b/c"
ssm-diff apply
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.
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.
It seems to me that the following will result in the deletion of many keys:
ssm-diff init -p "a/b/c"
ssm-diff plan -p "a/b/c"
ssm-diff apply
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.