terramate icon indicating copy to clipboard operation
terramate copied to clipboard

[BUG] generating inside dot directories is disallowed

Open waxb opened this issue 10 months ago • 0 comments

Describe the bug I am generating the GitHub Actions workflow files via terramate inside .github/workflows/. Upon upgrading to >= v0.6.0 this became undoable.

generate_file ".github/workflows/deploy.yaml" {
  stack_filter {
    project_paths = [
      "/"
    ]
  }
  ...
 }

output:

error:  invalid generate block label: .github/workflows/deploy.yaml: generation inside dot directories are disallowed

Moving the stack and stack filter from / to .github/workflows produces the same behaviour.

waxb avatar Apr 21 '24 11:04 waxb