Skip to content

Commit

Permalink
chore: add file names
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasZeissner committed Sep 13, 2024
1 parent 15d0154 commit d25d93a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Each resource and data source allows you to define and manage specific aspects o
The provider can be used as follows:

```hcl
# variables.tf
variable "namespace" {
type = string
description = "The name of the namespace to be used for the federated graph"
Expand Down Expand Up @@ -64,6 +65,7 @@ resource "cosmo_namespace" "namespace" {
name = var.namespace
}
# main.tf
resource "cosmo_federated_graph" "federated_graph" {
name = var.federated_graph.name
routing_url = var.federated_graph.routing_url
Expand All @@ -87,6 +89,7 @@ resource "cosmo_router_token" "router_token" {
graph_name = cosmo_federated_graph.federated_graph.name
}
# outputs.tf
output "router_token" {
value = cosmo_router_token.router_token.token
}
Expand Down

0 comments on commit d25d93a

Please sign in to comment.