terramate
terramate copied to clipboard
[BUG] Cloning does not consider files located outside of stacks
Describe the bug
Cloning multiple stacks starting at a root directory does not copy the config.tm.hcl
located at the base, which is not part of a stack. I would expect that all files in the defined folder are cloned, regardless if it is a stack or not.
To Reproduce
Steps to reproduce the behavior:
- Create a new directory
dev
- Add a file
config.tm.hcl
inside ofdev
- Add a stack in
dev
,terramate create dev/one
- Clone the
dev
directory:terramate experimental clone dev foo
Expected behavior
The config.tm.hcl
should be cloned.
Log Output Add logs from Terramate to help debug your problem.
Environment (please complete the following information):
- OS: MacOs
- OS Version Latest
- Terramate Version 0.8.4