It would be great to have every commands possible through the terraspace all commands. It would allow people to easily run all of their wanted commands on all their stacks/modules without carrying about if they are provided or not in the terraspace all.
Motivation
In my case, we sometimes need to run terraspace state pull on all our stacks. I was surprised when I found that this was not possible.
For anyone falling here, I've come to the following one-liner : for stack in app/stacks/*; do terraspace state pull $(basename $stack); done
But this is not very convenient and could be error-prone to do so for all other commands.
Summary
It would be great to have every commands possible through the
terraspace all
commands. It would allow people to easily run all of their wanted commands on all their stacks/modules without carrying about if they are provided or not in theterraspace all
.Motivation
In my case, we sometimes need to run
terraspace state pull
on all our stacks. I was surprised when I found that this was not possible.For anyone falling here, I've come to the following one-liner :
for stack in app/stacks/*; do terraspace state pull $(basename $stack); done
But this is not very convenient and could be error-prone to do so for all other commands.
Drawbacks
I don't think of any drawback here ...