glassechidna / stackit

Cross-platform CloudFormation CLI tool for easy synchronous and idempotent stack updates
Apache License 2.0
37 stars 7 forks source link

Act more like aws cli / conducive to CI #30

Open aidansteele opened 5 years ago

aidansteele commented 5 years ago

aws cloudformation package and aws cloudformation deploy behave differently to stackit package and stackit execute.

At first I thought it would be more useful to create and display a changeset as part of stackit package, making it similar to terraform plan. This arguably is more useful in the typical case, but isn't as useful in the CI case.

Specifically, in a CI setup we might want to archive "artifacts" from a Build stage and use them in a later Deploy stage. Right now we are archiving stackit.packaged.yml. The problem is that this isn't replayable, a user can't re-run just the Deploy stage as they might expect.

We could ameliorate this with the following design:

aidansteele commented 5 years ago

Actually, there's no reason up shouldn't be a wrapper around package, plan and apply.

aidansteele commented 5 years ago

As of eb43d0b3c02b92f46c1ebdbfd259ac0808f717a7