ssm-diff icon indicating copy to clipboard operation
ssm-diff copied to clipboard

Replace -p with ENV Variable

Open ambsw-technology opened this issue 5 years ago • 1 comments

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.

ambsw-technology avatar Apr 29 '19 01:04 ambsw-technology