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/install/offline.md
+43Lines changed: 43 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,49 @@ server, as demonstrated in the example below:
230
230
With these steps, you'll have the Coder documentation hosted on your server and
231
231
accessible for your team to use.
232
232
233
+
## Coder Modules
234
+
235
+
## Air-gapped Users
236
+
237
+
Air gapped users can clone the [coder/modules](htpps://github.com/coder/modules) repo and publish a [local terraform module repository](https://jfrog.com/help/r/jfrog-artifactory-documentation/set-up-a-terraform-module/provider-registry) to resolve modules via [Artifactory](https://jfrog.com/artifactory/).
238
+
239
+
1. Create a local-terraform-repository with name `coder-modules-local`
240
+
2. Create a virtual repositoty with name `tf`
241
+
3. Follow the below instructions to publsh coder modules to Artifactory
242
+
243
+
```shell
244
+
git clone https://github.com/coder/modules
245
+
cd modules
246
+
jf tfc
247
+
jf tf p --namespace="coder" --provider="coder" --tag="1.0.0"
248
+
```
249
+
250
+
4. Generate a token with accesss to the `tf` repo and set an `ENV` variable `TF_TOKEN_example.jfrog.io="XXXXXXXXXXXXXXX"` on the Coder provisioner.
251
+
5. Create a file `.terraformrc` with follwing content and mount at `/home/coder/.terraformrc` within the Coder provisioner.
0 commit comments