Scenario
Can private registry modules be shared across multiple organizations in Terraform Cloud?
Recommendation
Terraform Cloud does not typically allow an organization's workspaces to use private modules from another organization. This restriction is because Terraform Cloud gives Terraform temporary credentials to access modules that are only valid for that workspace's organization. Although it is possible to mix modules from multiple organizations when you run Terraform on the command line, we strongly recommend against it.
Instead, you can share modules across organizations by sharing the underlying VCS repository. Grant each organization access to the module's repository (usually a VCS repo), and then add the module to each organization's private registry. Then when you push tags to publish new module versions, both organizations' private registry modules will update accordingly.
Additional Information
- For additional assistance please contact HashiCorp Support.