Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve remote block docs for local unix sockets #190

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ provider "incus" {
accept_remote_certificate = true

remote {
name = "incus-server-1"
scheme = "https"
address = "10.1.1.8"
token = "token"
name = "local"
scheme = "unix"
address = ""
default = true
}

remote {
name = "incus-server-2"
name = "incus-remote"
scheme = "https"
address = "10.1.2.8"
token = "token"
Expand Down Expand Up @@ -77,7 +76,9 @@ The following arguments are supported:

The `remote` block supports:

* `address` - *Optional* - The address of the Incus remote.
* `address` - *Optional* - The address of the Incus remote host when `schema` is
set to `https`. If `schema` is `unix` this will be the path to the local unix
socket, or leaving it as an empty string will use the default socket path.

* `default` - *Optional* - Whether this should be the default remote.
This remote will then be used when one is not specified in a resource.
Expand Down
Loading