- Notifications
You must be signed in to change notification settings - Fork22
Commitb94b7ea
authored
fix(provider): coalesce arch to armv7 if on 32-bit arm (#210)
This PR modifies the `coder_provisioner` datasource to return `arch` as `armv7` if `GOARCH=arm`.This fixes an issue where users on 32-bit arm platforms would be unable to create a template with```resource "coder_agent" "main" { arch = data.coder_provisioner.me.arch ...}```and would instead need to manually specify```resource "coder_agent" "main" { arch = "armv7" ...}```1 parentf3a205c commitb94b7ea
File tree
3 files changed
+11
-2
lines changed- docs/resources
- provider
3 files changed
+11
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 |
| |
20 | 24 |
| |
21 | 25 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 |
| |
36 | 40 |
| |
37 | 41 |
| |
38 | 42 |
| |
39 | 43 |
| |
| 44 | + |
0 commit comments
Comments
(0)