[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[x] The test suite passes (run bundle exec rspec to verify this)
Summary
Fix terraspace all down.
The #196 change in v1.1.0 means only required stacks are built. It works for terraspace all up, and then terraspace all down would work as long as the .terraspace-cache folder still exist.
However, on a clean machine without .terraspace-cache, terraspace all down wouldn't work because the dependent stacks were not built and available for terraform state pull to work.
This fixes the issue by building the dependent stacks. Additionally, added a codebuild project with an acceptance test for terraspace all has been added. See: #216
git clone https://github.com/boltops-tools/terraspace-graph-demo
cd terraspace-graph-demo
terraspace all up -y
terraspace clean all -y
terraspace all down -y # should work
This is a π bug fix.
bundle exec rspec
to verify this)Summary
Fix
terraspace all down
.The #196 change in v1.1.0 means only required stacks are built. It works for
terraspace all up
, and thenterraspace all down
would work as long as the.terraspace-cache
folder still exist.However, on a clean machine without
.terraspace-cache
,terraspace all down
wouldn't work because the dependent stacks were not built and available forterraform state pull
to work.This fixes the issue by building the dependent stacks. Additionally, added a codebuild project with an acceptance test for
terraspace all
has been added. See: #216Context
196
199
How to Test
Version Changes
Patch