Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasZeissner committed Sep 13, 2024
1 parent f24bd66 commit 458ddb9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/data-sources/subgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ data "cosmo_subgraph" "test" {
- `labels` (Map of String) Labels for the subgraph.
- `readme` (String) The readme for the subgraph.
- `routing_url` (String) The routing URL of 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.
- `websocket_subprotocol` (String) The websocket subprotocol for the subgraph.
1 change: 1 addition & 0 deletions docs/resources/subgraph.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ resource "cosmo_subgraph" "test" {
- `is_feature_subgraph` (Boolean) Indicates if the subgraph is a feature subgraph.
- `labels` (Map of String) Labels for the subgraph.
- `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.
Expand Down
4 changes: 2 additions & 2 deletions examples/provider/modules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ locals {
}

module "cosmo-federated-graph" {
source = "../../modules/cosmo-federated-graph"
namespace = "${local.prefix}-cosmo-module"
source = "../../modules/cosmo-federated-graph"
namespace = "${local.prefix}-cosmo-module"
router_token_name = "${local.prefix}-router-token"

federated_graph = {
Expand Down
4 changes: 2 additions & 2 deletions modules/cosmo-federated-graph/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ resource "cosmo_subgraph" "subgraph" {
}

resource "cosmo_router_token" "router_token" {
name = var.router_token_name
namespace = cosmo_namespace.namespace.name
name = var.router_token_name
namespace = cosmo_namespace.namespace.name
graph_name = cosmo_federated_graph.federated_graph.name
}

0 comments on commit 458ddb9

Please sign in to comment.