page_title | subcategory | description |
---|---|---|
cosmo_federated_graph Resource - cosmo |
The federated graph resource is used to manage a single, unified data graph that is composed of multiple subgraphs.
For more information on federated graphs, please refer to the Cosmo Documentation https://cosmo-docs.wundergraph.com/cli/federated-graph. |
The federated graph resource is used to manage a single, unified data graph that is composed of multiple subgraphs.
For more information on federated graphs, please refer to the Cosmo Documentation.
resource "cosmo_federated_graph" "test" {
name = var.name
routing_url = var.routing_url
namespace = var.namespace
label_matchers = var.label_matchers
}
name
(String) The name of the federated graph. This is used to identify the graph and must be unique within the namespace.routing_url
(String) The URL of the service that routes requests to the federated graph.
admission_webhook_secret
(String, Sensitive) The secret token used to authenticate the admission webhook requests.admission_webhook_url
(String) The URL for the admission webhook that will be triggered during graph operations.label_matchers
(List of String) A list of label matchers used to select the services that will form the federated graph.namespace
(String) The namespace in which the federated graph is located. Defaults to 'default' if not provided.readme
(String) Readme content for the federated graph.
id
(String) The unique identifier of the federated graph resource, automatically generated by the system.