-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
2 changed files
with
66 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,46 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "chomp_left Data Source - terraform-provider-chomp" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# chomp_left (Data Source) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "chomp_left" "zone" { | ||
lookup = "my.sub.example.org" | ||
separator = "." | ||
src = { | ||
"sub.example.org" = "DEADBEEF" | ||
"example.org" = "BEEFFEED" | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- **lookup** (String) Lookup longest matching key in src map. | ||
- **separator** (String) Chomp source map using separator. | ||
- **src** (Map of String) Map to search. | ||
|
||
### Optional | ||
|
||
- **id** (String) The ID of this resource. | ||
- **ignore_not_found_error** (Boolean) If true, this provider will not error. Default is false. | ||
|
||
### Read-Only | ||
|
||
- **found** (Boolean) Indicates whether a matching key was found. Useful when ignore_not_found_error is true. | ||
- **key** (String) Longest key found in src map matching the lookup key. If ignore_not_found_error is true, and no matching key is found, this will return an empty string. | ||
|
||
|
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,20 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "chomp Provider" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# chomp Provider | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
provider "chomp" {} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema |