-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Community Note
- 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.
- I'd be willing to implement this feature (contributing guide)
Describe the user story
If we have 100 projects in a single repo and only need to customize 1, we'll have to define every project or we can no longer auto plan projects.
This is stated in the docs with this warning
Once an
atlantis.yamlfile exists in a repo, Atlantis won't try to determine where to run plan automatically. Instead it will just follow the project configuration. This means that you'll need to define each project in your repo.If you have many directories with Terraform configuration, each directory will need to be defined.
According to the code, the warning in the documentation has been there since 2019. I'm not sure if this was an intentional limitation or if it is an issue that never got prioritized. I couldn't find an existing ticket for this either (happy to close if there is one).
Describe the solution you'd like
Describe the drawbacks of your solution
I'd like all projects to have a default, as if there isn't an atlantis.yaml file, and if there is an atlantis.yaml file with defined projects, only override the configurations of specific directories/projects and continue to autoplan the rest.
Describe alternatives you've considered
I currently run the script in the docs to auto generate the projects in the atlantis.yaml file.
There are other projects that also auto generate the atlantis.yaml file such as terragrunt-atlantis-config and atmos