Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.67 KB

monograph.md

File metadata and controls

48 lines (36 loc) · 1.67 KB
page_title subcategory description
cosmo_monograph Resource - cosmo
A monograph is a resource that represents a single subgraph with GraphQL Federation disabled. For more information on monographs, please refer to the Cosmo Documentation https://cosmo-docs.wundergraph.com/cli/monograph.

cosmo_monograph (Resource)

A monograph is a resource that represents a single subgraph with GraphQL Federation disabled.

For more information on monographs, please refer to the Cosmo Documentation.

Example Usage

resource "cosmo_monograph" "example" {
  name        = var.monograph_name
  namespace   = var.monograph_namespace
  graph_url   = var.monograph_graph_url
  routing_url = var.monograph_routing_url
}

Schema

Required

  • graph_url (String) The GraphQL endpoint URL of the monograph.
  • name (String) The name of the monograph.
  • routing_url (String) The routing URL for the monograph.

Optional

  • admission_webhook_secret (String) The admission webhook secret for the monograph.
  • admission_webhook_url (String) The admission webhook URL for the monograph.
  • namespace (String) The namespace in which the monograph is located.
  • readme (String) The readme for the subgraph.
  • subscription_protocol (String) The subscription protocol for the subgraph.
  • subscription_url (String) The subscription URL for the subgraph.
  • websocket_subprotocol (String) The websocket subprotocol for the subgraph.

Read-Only

  • id (String) The unique identifier of the monograph resource.