qumulo_portal (Resource)¶
Manages a full portal relationship between a spoke cluster and a hub cluster.
This resource performs the full portal handshake in one lifecycle: creating the spoke portal and then accepting the matching pending hub portal.
Use qumulo_portal_root to add directory mappings after the portal relationship is established.
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", "10.0.0.2", "10.0.0.3"]
spoke_hosts = ["10.1.0.1", "10.1.0.2"]
}
Schema¶
Required¶
hub_connection_profile(String) Connection profile name for the hub cluster.hub_hosts(List of String) Hub cluster addresses reachable from the spoke cluster (e.g., node IPs).spoke_connection_profile(String) Connection profile name for the spoke cluster.spoke_hosts(List of String) Spoke cluster addresses reachable from the hub cluster (e.g., node IPs).type(String) Portal type: PORTAL_READ_ONLY or PORTAL_READ_WRITE.
Optional¶
hub_port(Number) Hub portal communication port (default: 3713).spoke_port(Number) Spoke portal communication port (default: 3713).
Read-Only¶
hub_cluster_uuid(String) UUID of the hub cluster.hub_id(Number) ID of the hub portal.hub_state(String) State of the hub portal (PENDING, ACCEPTED, DELETING).hub_status(String) Status of the hub portal (INACTIVE, ACTIVE, DEGRADED).id(String) Opaque portal relationship ID for use by qumulo_portal_root.spoke_cluster_uuid(String) UUID of the spoke cluster.spoke_id(Number) ID of the spoke portal.spoke_state(String) State of the spoke portal (PENDING, ACCEPTED, DELETING).spoke_status(String) Status of the spoke portal (INACTIVE, ACTIVE, DEGRADED).