- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 04:11 AM
Hello Community,
I’m encountering the following error while working on my project:
Error: ${var.FILE_NAME} defined in 'include' section does not match any files.
Has anyone faced this issue before? I'm using variables to include specific files, but it seems like the system isn't recognizing the ${var.FILE_NAME} properly. I’ve double-checked the file paths and variable names, but the error persists.
I would appreciate any insights or guidance on how to resolve this issue. Is there a specific way the variable should be defined or a known limitation when using this syntax in the 'include' section?
Looking forward to any suggestions or solutions from the community!
Thanks in advance,
[Sireesha Palle]
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 10:00 AM
Hi @AkhilVydyula ,
You can start by updating your cli. I've seen some really weird errors with older cli versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2024 10:00 AM
Hi @AkhilVydyula ,
You can start by updating your cli. I've seen some really weird errors with older cli versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 07:52 AM
I completely agree with you. I'm having difficulty understanding how the sync will work for the include and exclude sections, specifically for folders and files. Here’s what I’m currently using:
sync:
# Include specific files and directories
# # - files/${var.archetype}/config/${var.job_names}
- files/${var.archetype}/config/*
- files/${var.archetype}/notebooks/*
- artifacts/dap_common-${var.dap_common_version}*.whl
- artifacts/etl_framework-${var.etl_framework_version}*.whl
exclude:
- resources/** # This will ignore all files and subdirectories within the resources folder
# - process_template.py3
# - databricks.yml
# - .gitignore
# - .vscode
If you have any ideas or suggestions on how to improve this configuration, especially for syncing the correct files and folders, I’d really appreciate your help.
Thank you!
![](/skins/images/582998B45490C7019731A5B3A872C751/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/582998B45490C7019731A5B3A872C751/responsive_peak/images/icon_anonymous_message.png)