Skip to content

Schema file for atlantis.yaml #5718

@userbradley

Description

@userbradley

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.

Describe the user story

As a developer, I'd like to have intellisense on the atlantis.yaml file, and a schema file available to validate changes are correct, for example using pre-commit hooks before a file is pushed

Describe the solution you'd like

I would like a json schema published of the fields one can set for the atlantis.yaml file

Describe the drawbacks of your solution

Maintaining and updating the schema file would rely on somehow getting all the schemas out of server/config/core/raw and in to a json file: https://github.com/runatlantis/atlantis/tree/fb91fafcb8db44f1f4416027128e5be8957c4914/server/core/config/raw

Any updates to this file would mean backwards compatibility is potentially broken, so some form of versioning would need to be maintained. It could follow the release cycle of Atlantis

Describe alternatives you've considered

Feeding a bunch of Atlantis files to some AI and having it produce a schema file for me, but I'd like to see a first party solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality/enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions