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
```
This commit is contained in:
Brian Flad
2024-02-28 10:11:33 -05:00
committed by GitHub
parent 4dc39eec39
commit c4ac215bff
12 changed files with 259 additions and 66 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ Once you've written your provider, you'll want to [publish it on the Terraform R
## Requirements
- [Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.0
- [Go](https://golang.org/doc/install) >= 1.20
- [Go](https://golang.org/doc/install) >= 1.21
## Building The Provider