Skip to content

Vendor pull does not support double-star glob for exclusions or templating on the include/exclude list #835

@jamengual

Description

@jamengual

Describe the Bug

atmos vendor pull can't exclude subdirs.

If I have :

stacks/
  mystacks/
    us-east-1
     pepe1
     pepe2

and vendor yaml with :

exclude_paths:
  - "**/stacks/**/pepe2"

Atmos is not able to match the path of the subdir and it vendors all the files under pepe2 dir

it is also not possible to templatize the exclude or include paths, which is helpful when you have automated pipelines that can expose the names of dirs you want to exclude.

- "**/stacks/**/${exclude_me}"

That will be nice to have.

Atmos 1.110.0

Expected Behavior

Atmos should support regexes fully for the exclude and include paths

Steps to Reproduce

atmos vendor pull

Screenshots

No response

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions