Skip to content

Document how to use modules from the Coder registry offline #9841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bpmct opened this issue Sep 24, 2023 · 4 comments · Fixed by #11788
Closed

Document how to use modules from the Coder registry offline #9841

bpmct opened this issue Sep 24, 2023 · 4 comments · Fixed by #11788
Assignees
Labels
docs Area: coder.com/docs

Comments

@bpmct
Copy link
Member

bpmct commented Sep 24, 2023

A common question we're going to get from our customers once we launch the coder modules is: "How do we pull/run modules in our offline deployment?" I don't know the answer to that yet, is that something you could own/explore? A few things I'd consider:

  • https://developer.hashicorp.com/terraform/cli/commands/providers/mirror: I think this just downloads the necessary dependencies for a module for adding to a self-hosted registry or filesystem
  • The user will need to fork the module and reference a custom module source or add regsitry.coder.com or github.com/coder/modules
    • Open questions
      • Does the user need to add github.com/coder/modules or does registry.coder.com handle it entirely as a filesystem mirror?
      • Is there a way the user could only add official modules to firewall? registry.coder.com/coder/*
      • (may need to coordinate with @kylecarbs here for these)
@cdr-bot cdr-bot bot added the docs Area: coder.com/docs label Sep 24, 2023
@ericpaulsen ericpaulsen self-assigned this Sep 24, 2023
@matifali
Copy link
Member

matifali commented Sep 25, 2023

Currently we do not have author name in the module path. For example code-server an official Coder module is hosted at
https://registry.coder.com/code-server

@matifali
Copy link
Member

matifali commented Jan 22, 2024

Our module registry is now terraform module registry compliant. One solution can be to mirror it using Artifactory. @bpmct, we can document this as a solution for using Artifactory to mirror the coder module registry.

@bpmct
Copy link
Member Author

bpmct commented Jan 22, 2024

I think docs on how to mirror it with Artifactory is best 👍🏼

@matifali
Copy link
Member

@ericpaulsen As you are willing to do this, I can help with the Artifactory setup if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Area: coder.com/docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants