realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

Make CloudFormation diff context size configurable. #62

Closed toothbrush closed 5 years ago

toothbrush commented 5 years ago

As a user, i sometimes want to be able to see less context around my CloudFormation diffs than the entire file as is currently the case, because for small changes, the full file can be an overwhelming screen-full.

This patch doesn't change the default behaviour of Stackup, it keeps the default of 10,000 lines of context as defined in the Diffy library (see https://github.com/samg/diffy#number-of-lines-of-context-around-changes).

toothbrush commented 5 years ago

Awesome, thanks @mdub 😃 I'd be eager to use this in my deploy tooling, any chance i could badger one of the maintainers for a minor release sometime?

mdub commented 5 years ago

Released in 1.4.0, @toothbrush.