page_title | subcategory | description |
---|---|---|
cosmo_subgraph Resource - cosmo |
This resource handles subgraphs. Each subgraph is responsible for defining its specific segment of the schema and managing the related queries.
For more information on subgraphs, please refer to the Cosmo Documentation https://cosmo-docs.wundergraph.com/cli/subgraph. |
This resource handles subgraphs. Each subgraph is responsible for defining its specific segment of the schema and managing the related queries.
For more information on subgraphs, please refer to the Cosmo Documentation.
resource "cosmo_subgraph" "test" {
name = var.name
namespace = var.namespace
routing_url = var.routing_url
labels = var.labels
schema = var.schema
}
name
(String) The name of the subgraph.routing_url
(String) The routing URL of the subgraph.
is_event_driven_graph
(Boolean) Indicates if the subgraph is event-driven.is_feature_subgraph
(Boolean) Indicates if the subgraph is a feature subgraph.labels
(Map of String) Labels for the subgraph.namespace
(String) The namespace in which the subgraph is located.readme
(String) The readme for the subgraph.schema
(String) The schema for the subgraph.subscription_protocol
(String) The subscription protocol for the subgraph.subscription_url
(String) The subscription URL for the subgraph.unset_labels
(Boolean) Unset labels for the subgraph.websocket_subprotocol
(String) The websocket subprotocol for the subgraph.
id
(String) The unique identifier of the subgraph resource.