You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vendors/terraform/module-registry.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -334,20 +334,19 @@ In order to use modules, you have to source them from the Spacelift module regis
334
334
.png>)
335
335
336
336
!!! info
337
-
Stacks that use private modules need access to the Space the modules reside in, which can be achieved via [Space Inheritance](../../concepts/spaces/access-control.md#inheritance) or module [Space sharing](#space-sharing).
337
+
Stacks that use private modules need access to the Space the modules reside in, which can be achieved via [space inheritance](../../concepts/spaces/access-control.md#inheritance) or module [space sharing](#space-sharing).
338
338
339
339
### Sharing modules
340
340
341
341
#### Space sharing
342
342
343
343
Modules can be shared with specific spaces within your account, giving you fine-grained control over which teams can discover and use your modules. When you share a module with a space, any stack in that space can reference it in their Terraform configurations.
344
344
345
-
In order to share a module with other spaces, select the target spaces in the sharing section under "Module settings" > "Availability":
345
+
When you share a module with a space, all child spaces with [inheritance enabled](../../concepts/spaces/access-control.md#inheritance) will also be able to access the module.
To share a module with other spaces, select the target spaces in the sharing section under **Module settings > Availability**
348
348
349
-
!!! info "Space inheritance and space sharing"
350
-
When you share a module with a space, all child spaces with [inheritance enabled](../../concepts/spaces/access-control.md#inheritance) will also be able to access the module.
This can also be accomplished programmatically using our [Terraform provider](terraform-provider.md) via the `space_shares` attribute:
353
352
@@ -379,8 +378,8 @@ The `space_shares` attribute accepts a list of space IDs. Changes to this list w
379
378
380
379
When a module is shared with a space you have access to, you can:
381
380
382
-
- Discover it in the module list and search results
383
-
- Reference it in your stack configurations
381
+
- Discover it in the module list and search results.
382
+
- Reference it in your stack configurations.
384
383
385
384
Module management remains with the owner. You cannot see module details, modify settings, create versions, or change sharing configuration for modules shared with you.
386
385
@@ -402,8 +401,8 @@ This helps module owners understand their sharing configuration and helps consum
402
401
403
402
Space-level sharing is the recommended approach for most organizations. Use it when:
404
403
405
-
- Different teams within your account need access to different module sets
406
-
- You want centralized governance over who can use which modules
404
+
- Different teams within your account need access to different module sets.
405
+
- You want centralized governance over who can use which modules.
407
406
408
407
For example, your platform team might maintain networking and security modules in a dedicated space, then share them selectively with specific application team spaces.
0 commit comments