-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from wundergraph/andi/eng-5704-inquiring-about-…
…resources-for-contracts-in-terraform feat: enable contract usage
- Loading branch information
Showing
102 changed files
with
2,542 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "cosmo_contract Data Source - cosmo" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# cosmo_contract (Data Source) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "cosmo_subgraph" "test" { | ||
name = var.name | ||
namespace = var.namespace | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the federated graph. | ||
- `namespace` (String) The namespace in which the federated graph is located. | ||
|
||
### Read-Only | ||
|
||
- `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. | ||
- `id` (String) The unique identifier of the federated graph resource, automatically generated by the system. | ||
- `label_matchers` (Map of String) A list of label matchers used to select the services that will form the federated graph. | ||
- `readme` (String) Readme content for the federated graph. | ||
- `routing_url` (String) The URL for the federated graph. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "cosmo_contract Resource - cosmo" | ||
subcategory: "" | ||
description: |- | ||
A contract is a Terraform resource representing a single subgraph with GraphQL Federation enabled, allowing developers to build versatile, multi-audience graphs while simplifying development and ensuring maintainability. | ||
For more information, refer to the Cosmo Documentation at https://cosmo-docs.wundergraph.com/concepts/schema-contracts. | ||
--- | ||
|
||
# cosmo_contract (Resource) | ||
|
||
A contract is a Terraform resource representing a single subgraph with GraphQL Federation enabled, allowing developers to build versatile, multi-audience graphs while simplifying development and ensuring maintainability. | ||
|
||
For more information, refer to the Cosmo Documentation at https://cosmo-docs.wundergraph.com/concepts/schema-contracts. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "cosmo_contract" "test" { | ||
name = var.name | ||
namespace = var.namespace | ||
source = var.source_graph_name | ||
routing_url = var.routing_url | ||
exclude_tags = var.exclude_tags | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) | ||
- `namespace` (String) | ||
- `routing_url` (String) | ||
- `source` (String) | ||
|
||
### Optional | ||
|
||
- `admission_webhook_secret` (String) | ||
- `admission_webhook_url` (String) | ||
- `exclude_tags` (List of String) | ||
- `readme` (String) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.