Making a Module Visible Across All Spaces
Last updated: November 10, 2024
Solution: Use Inheritance from a Root Space
Move the Module to the Root Space
Place the module in a root or parent space to establish it as a shared resource.Enable Inheritance
When inheritance is enabled, any child stacks in descendant spaces will inherit read access to the resources in their parent spaces, including modules and other shared resources. This approach simplifies access management by centralizing the module in a root space.For example, if the module is placed in the top-level space, all child stacks with inheritance enabled can use it, as well as any other resources in the parent or grandparent spaces.
For more details on setting up spaces and inheritance, refer to Spacelift’s documentation on spaces and access control.
Additional Resources
Spaces in Action: For a practical walkthrough on using spaces in Spacelift, check out this blog post on Spacelift Spaces.
Space Best Practices: Check out this doc on best practices in Spacelift Spaces.