Skip to content

Commit 65b84d2

Browse files
eliecharraKiraLempereur-Spacelift
authored andcommitted
fix: Kira's feedbacks
1 parent 02695f8 commit 65b84d2

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/vendors/terraform/module-registry.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -334,20 +334,19 @@ In order to use modules, you have to source them from the Spacelift module regis
334334
![](<../../assets/screenshots/image (1).png>)
335335

336336
!!! 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).
338338

339339
### Sharing modules
340340

341341
#### Space sharing
342342

343343
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.
344344

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.
346346

347-
![](../../assets/screenshots/terraform/modules/module_sharing.png)
347+
To share a module with other spaces, select the target spaces in the sharing section under **Module settings > Availability**
348348

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.
349+
![](../../assets/screenshots/terraform/modules/module_sharing.png)
351350

352351
This can also be accomplished programmatically using our [Terraform provider](terraform-provider.md) via the `space_shares` attribute:
353352

@@ -379,8 +378,8 @@ The `space_shares` attribute accepts a list of space IDs. Changes to this list w
379378

380379
When a module is shared with a space you have access to, you can:
381380

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.
384383

385384
Module management remains with the owner. You cannot see module details, modify settings, create versions, or change sharing configuration for modules shared with you.
386385

@@ -402,8 +401,8 @@ This helps module owners understand their sharing configuration and helps consum
402401

403402
Space-level sharing is the recommended approach for most organizations. Use it when:
404403

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.
407406

408407
For example, your platform team might maintain networking and security modules in a dedicated space, then share them selectively with specific application team spaces.
409408

0 commit comments

Comments
 (0)