ā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]
ā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.
ā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.
ā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!
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonāt want to miss the chance to attend and share knowledge.
If there isnāt a group near you, start one and help create a community that brings people together.
Request a New Group