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
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,8 @@ The following arguments are supported:
61
61
to. See the `remote` reference below for details.
62
62
63
63
*`config_dir` - *Optional* - The directory to look for existing Incus
64
-
configuration. Defaults to `$HOME/.config/incus`
64
+
configuration. This can also be set with the `INCUS_CONF`
65
+
Environment variable. Defaults to `$HOME/.config/incus`
65
66
66
67
*`generate_client_certificates` - *Optional* - Automatically generate the Incus
67
68
client certificate if it does not exist. Valid values are `true` and `false`.
@@ -89,7 +90,8 @@ The `remote` block supports:
89
90
for more information.
90
91
The default can also be set with the `INCUS_REMOTE` Environment variable.
91
92
92
-
*`name` - *Optional* - The name of the Incus remote.
93
+
*`name` - **Required** - Name of the Incus remote. Name is used to locate
94
+
server certificate if incus_scheme is set to `https`.
93
95
94
96
*`token` - *Optional* - The one-time trust [token](https://linuxcontainers.org/incus/docs/main/authentication/#adding-client-certificates-using-tokens) used for initial authentication with the Incus remote.
Copy file name to clipboardExpand all lines: docs/resources/storage_pool.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ for more details on how to create a storage pool in clustered mode.
55
55
56
56
*`driver` - **Required** - Storage Pool driver. Must be one of `dir`, `zfs`, `lvm`, `lvmcluster`, `btrfs`, `ceph`, `cephfs`, `cephobject` or `linstor`.
57
57
58
-
*`description` - *Optional* - Description of the storage pool.
58
+
*`description` - *Optional* - Description of the storage pool.`description` is mutual exclusive with `target`. The `description` can only be set on cluster level (with `target` not set) or on non-clustered setups.
59
59
60
60
*`config` - *Optional* - Map of key/value pairs of
61
61
[storage pool config settings](https://linuxcontainers.org/incus/docs/main/reference/storage_drivers/).
resource.TestCheckResourceAttr("incus_storage_pool.storage_pool1_node1", "description", ""), // Since target and description are mutual exclusive, we expect the default value in the state.
resource.TestCheckResourceAttr("incus_storage_pool.storage_pool1_node2", "description", ""), // Since target and description are mutual exclusive, we expect the default value in the state.
0 commit comments