I have a configuration whereby multiple stacks are wired together using the technique as specified on the Deploy Multiple Stacks page.
The stacks seem to deploy successfully when issuing a
terraspace all up, however when a
terraspace all plan is issued a number of errors are encountered, for example:
│ Error: Invalid value for input variable │ │ on 2-base.auto.tfvars line 13: │ 13: private_subnet_ids = "(Output private_subnet_ids was not found for the eks-cluster tfvars file. Either htp-config stack has not been deployed yet or it does not have this output: private_subnet_ids. Also, if local backend is being used and has been removed/cleaned, then it will also result zero-byte state.json with the 'terraform state pull' used to download the terraform state and output will not be found.)" │
Everything appears to check out as the stacks all deploy fine when doing an
all up command.
There are also a few “undeclared variable” errors which creep in, but again these all check out when walking through the module and stack dependencies.