Brian Flad c4ac215bff
Bump Go version, dependency versions, add example function (#198)
Reference: https://developer.hashicorp.com/terraform/plugin/framework/functions
Reference: https://github.com/hashicorp/terraform-providers-devex-internal/issues/175

Terraform 1.8 and later introduce the concept of provider-defined functions and this adds an example function that accepts a string argument and returns the same value as a string return.

Dependencies updated via:

```
go get github.com/hashicorp/terraform-plugin-framework@v1.6.0
go get github.com/hashicorp/terraform-plugin-docs@v0.18.0
go mod tidy
```
2024-02-28 10:11:33 -05:00

27 lines
423 B
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "example function - scaffolding"
subcategory: ""
description: |-
Example function
---
# function: example
Echoes given argument as result
## Signature
<!-- signature generated by tfplugindocs -->
```text
example(input string) string
```
## Arguments
<!-- arguments generated by tfplugindocs -->
1. `input` (String) String to echo