Skip to content

Commit 6469251

Browse files
authored
fix: Add "arm" architecture (#18)
This allows for 32-bit arm to be used with Coder.
1 parent 4531753 commit 6469251

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

docs/data-sources/workspace.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ resource "kubernetes_pod" "dev" {
2626

2727
### Read-Only
2828

29+
- `access_url` (String) The access URL of the Coder deployment provisioning this workspace.
2930
- `id` (String) UUID of the workspace.
3031
- `name` (String) Name of the workspace.
3132
- `owner` (String) Username of the workspace owner.

docs/resources/agent.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resource "kubernetes_pod" "dev" {
4141

4242
### Required
4343

44-
- `arch` (String) The architecture the agent will run on. Must be one of: "amd64", "arm64".
44+
- `arch` (String) The architecture the agent will run on. Must be one of: "amd64", "armv7", "arm64".
4545
- `os` (String) The operating system the agent will run on. Must be one of: "linux", "darwin", or "windows".
4646

4747
### Optional

docs/resources/app.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ resource "coder_app" "intellij" {
5656

5757
### Optional
5858

59-
- `command` (String) A command to run in a terminal opening this app. In the web, this will open in a new tab. In the CLI, this will SSH and execute the command.
59+
- `command` (String) A command to run in a terminal opening this app. In the web, this will open in a new tab. In the CLI, this will SSH and execute the command. Either "command" or "target" may be specified, but not both.
6060
- `icon` (String) A URL to an icon that will display in the dashboard. View built-in icons here: https://github.com/coder/coder/tree/main/site/static/icons. Use a built-in icon with `data.coder_workspace.me.access_url + "/icons/<path>"`.
6161
- `id` (String) The ID of this resource.
6262
- `name` (String) A display name to identify the app.
63-
- `target` (String) A URL to be proxied to from inside the workspace.
63+
- `target` (String) A URL to be proxied to from inside the workspace. Either "command" or "target" may be specified, but not both.
6464

6565

internal/provider/provider.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ func New() *schema.Provider {
163163
Type: schema.TypeString,
164164
ForceNew: true,
165165
Required: true,
166-
Description: `The architecture the agent will run on. Must be one of: "amd64", "arm64".`,
167-
ValidateFunc: validation.StringInSlice([]string{"amd64", "arm64"}, false),
166+
Description: `The architecture the agent will run on. Must be one of: "amd64", "armv7", "arm64".`,
167+
ValidateFunc: validation.StringInSlice([]string{"amd64", "armv7", "arm64"}, false),
168168
},
169169
"auth": {
170170
Type: schema.TypeString,

0 commit comments

Comments
 (0)