Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.85 KB

federated_graph.md

File metadata and controls

45 lines (33 loc) · 1.85 KB
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.

cosmo_federated_graph (Resource)

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.

Example Usage

resource "cosmo_federated_graph" "test" {
  name           = var.name
  routing_url    = var.routing_url
  namespace      = var.namespace
  label_matchers = var.label_matchers
}

Schema

Required

  • 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.

Optional

  • 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.

Read-Only

  • id (String) The unique identifier of the federated graph resource, automatically generated by the system.