i can’t help, but wonder about leveraging a single existing .terraform for all “stacks”.
For example, i have a number of lambda functions. Each function resides in a separate “stack”. “Stack” is a directory with lambda’s code, roles and dependencies.
To deploy a function we perform - “terraform init && terraform apply”.
As the number of lambda functions increases, so the number of “.terraform” sub directories in each stack. From what i understand, they all are identical.
Is there a way to leverage a single “.terraform” for a number of stacks?