qumulo_portal_root (Resource)¶
Manages a root directory mapping for a qumulo_portal relationship.
This resource performs both operations required for root access: proposing a spoke root mapping to a hub root path, then authorizing the returned hub root on the hub portal.
Example Usage¶
Installation¶
terraform {
required_providers {
qumulo = {
source = "qumulo-terraform-registry.s3.us-east-1.amazonaws.com/qumulo/qumulo"
version = "~> 1.0"
}
}
}
resource "qumulo_portal" "main" {
spoke_connection_profile = "spoke"
hub_connection_profile = "hub"
type = "PORTAL_READ_WRITE"
hub_hosts = ["10.0.0.1"]
spoke_hosts = ["10.0.0.2"]
}
resource "qumulo_portal_root" "data" {
portal_id = qumulo_portal.main.id
spoke_root_path = "/data"
hub_root_path = "/shared"
}
Schema¶
Required¶
hub_root_path(String) Remote directory path on the hub cluster.portal_id(String) Opaque ID from qumulo_portal.id.spoke_root_path(String) Local directory path on the spoke cluster.
Read-Only¶
authorized(Boolean) Whether the hub root is authorized for spoke access.id(String) Composite root mapping ID.local_root(String) Spoke root directory file ID.remote_root(String) Hub root directory file ID.