Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
When using yaml anchors to create a template as per the docs, atlantis will try to plan the template and fails:
Ran Plan for 2 projects:
project: template dir: template workspace: default
project: awesome-project dir: infra/awesome-project workspace: default
1. project: template dir: template workspace: default
Plan Error
dir "template" does not exist
Atlassian has an interesting approach with a definitons construct to avoid this sort of bug, would be cool to see a similar implementation in Atlantis:
Community Note
Overview of the Issue
When using yaml anchors to create a template as per the docs, atlantis will try to plan the template and fails:
Reproduction Steps
--enable-regexp-cmd
and then commentatlantis plan -p.*
Logs
Environment details
Repo
atlantis.yaml
file:Additional Context