terramate icon indicating copy to clipboard operation
terramate copied to clipboard

[BUG] Cloning does not consider files located outside of stacks

Open soerenmartius opened this issue 9 months ago • 0 comments

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:

  1. Create a new directory dev
  2. Add a file config.tm.hcl inside of dev
  3. Add a stack in dev ,terramate create dev/one
  4. 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

soerenmartius avatar May 22 '24 07:05 soerenmartius