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/index.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,14 +39,14 @@ provider "incus" {
39
39
default_remote = "local"
40
40
41
41
remote {
42
-
name = "local"
43
-
address = "unix://"
42
+
name = "local"
43
+
addresses = ["unix://"]
44
44
}
45
45
46
46
remote {
47
-
name = "incus-server-2"
48
-
address = "https://10.1.2.8"
49
-
token = "token"
47
+
name = "incus-server-2"
48
+
addresses = ["https://10.1.2.8"]
49
+
token = "token"
50
50
}
51
51
}
52
52
```
@@ -77,10 +77,10 @@ The following arguments are supported:
77
77
78
78
The `remote` block supports:
79
79
80
-
*`address` - *Optional* - The address of the Incus remote.
81
-
82
80
*`name` - *Required* - The name of the Incus remote.
83
81
82
+
*`addresses` - *Optional* - The addresses of the Incus remote. Multiple addresses can be provided for clustered remotes. If omitted, the provider uses the remote definition from the local Incus config.
83
+
84
84
*`protocol` - *Optional* - The server protocol to use. Valid values are `incus`, `oci`, or `simplestreams`. Defaults to `incus`.
85
85
86
86
*`credentials_helper` - *Optional* - Credential helper executable used for OCI registry authentication. Only valid when `protocol` is set to `oci`.
@@ -103,7 +103,7 @@ It is possible to define a single `remote` through environment variables.
103
103
The required variables are:
104
104
105
105
*`INCUS_REMOTE` - The name of the remote.
106
-
*`INCUS_ADDR` - The address of the Incus remote.
106
+
*`INCUS_ADDR` - The address of the Incus remote. Multiple addresses can be provided as a comma-separated string.
107
107
*`INCUS_PROTOCOL` - The server protocol to use.
108
108
*`INCUS_AUTHENTICATION_TYPE` - Server authentication type.
109
109
*`INCUS_TOKEN` - The trust token of the Incus remote.
0 commit comments