generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shawn Castrianni
authored and
Shawn Castrianni
committed
Aug 30, 2023
1 parent
ca1e038
commit 51ffe0d
Showing
1 changed file
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
subcategory: "Runtime Configuration" | ||
--- | ||
# Data Source: konnect_consumer | ||
Represents a consumer | ||
## Example usage | ||
```hcl | ||
data "konnect_runtime_group" "RuntimeGroup" { | ||
name = "TestRuntimeGroup" | ||
} | ||
data "konnect_consumer" "example" { | ||
runtime_group_id = data.konnect_runtime_group.RuntimeGroup.id | ||
search_username = "Bob" | ||
} | ||
``` | ||
## Argument Reference | ||
* `runtime_group_id` - **(Required, String)** The id of the runtime group containing consumer | ||
* `search_username` - **(Optional, String)** The search string to apply to the username of the consumer. Uses contains. | ||
* `username` - **(Optional, String)** The filter string to apply to the username of the consumer. Uses equality. | ||
* `search_custom_id` - **(Optional, String)** The search string to apply to the custom_id of the consumer. Uses contains. | ||
* `custom_id` - **(Optional, String)** The filter string to apply to the custom_id of the consumer. Uses equality. | ||
## Attribute Reference | ||
* `id` - **(String)** Same as `runtime_group_id`:`consumer_id` | ||
* `consumer_id` - **(String)** Id of the consumer alone |