- Given the state directory is empty
- and there are no cloud resources
- When I run `up`
- Then I get a new stack and the state directory is updated
- Given the state directory is empty
- and there are no cloud resources
- When I run any other command
- Then I get an error
- Given the state directory is empty
- and there are some cloud resources
- When I run any command
- Then I get an error
- Given the state directory has content
- and there are no cloud resources
- When I run `up`
- Then the cloud resources get re-created and the state directory updated
- updated ips and ids are saved
- Given the state directory has content
- and there are no cloud resources
- When I run any other command
- Then I get an error
- Given the state directory has content
- And there are some cloud resources
- And there are no mismatches between them
- When I run any command
- Then it succeeds idempotently, updating both