Skip to content

Commit

Permalink
render provider docs
Browse files Browse the repository at this point in the history
  • Loading branch information
asobrien committed Jan 25, 2022
1 parent 27188e5 commit fd2ca19
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
46 changes: 46 additions & 0 deletions docs/data-sources/left.md
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.


20 changes: 20 additions & 0 deletions docs/index.md
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

0 comments on commit fd2ca19

Please sign in to comment.