Skip to main content

Add a data source for modules

List all of the modules in our Spacelift registry via a data source of the Spacelift OpenTofu provider.

Workaround
Status: ✅ Completed2 comments

Log in to comment and vote

Comments2

  • Marcin Białoń

    Team•

    Nov 21, 2025

    We released the spacelift_modules data source in version 1.38.0.

    https://search.opentofu.org/provider/spacelift-io/spacelift/latest/docs/datasources/modules

  • Amethyst Lemon

    •

    Sep 29, 2025

    At the moment we’re having to implement a hard-coded list of a subset of our modules in order to correctly handle automatically generated module creation and how this is affected by changes to the provider files used in that process. Keeping this up to date will be cumbersome. It would be great if we could instead have a data source to pull this list of modules, especially if we were able to filter them by source code repository and other attributes.