cloudtools / stacker

An AWS CloudFormation Stack orchestrator/manager.
http://stacker.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
711 stars 167 forks source link

test diff before the stack exists #732

Closed kddejong closed 2 years ago

kddejong commented 5 years ago

Currently a diff will fail if the stack doesn't exist. Most of the logic is there but it doesn't fully cover it.

I'm still not sure how the outputs should be fully handled so not changing it much but only appending it if the stack currently exists.

kddejong commented 5 years ago

The impact of the change isn't fully noted in the tests. The first commit should fail and the second commit should pass.