Docs cleanup before 1.7 release (#1573)

Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
This commit is contained in:
Janos 2024-04-30 11:55:47 +02:00 committed by GitHub
parent 8cf64c2284
commit aea329deed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,9 @@ This page will run you through the most important changes in OpenTofu 1.7:
- [Provider-defined functions](#provider-defined-functions)
- [Removed block](#removed-block)
- [Loopable import blocks](#loopable-import-blocks)
- [Built-in function changes](#built-in-function-changes)
- [CLI changes](#cli-changes)
- [Testing feature changes](#testing-feature-changes)
## State encryption
@ -105,6 +108,8 @@ output "test" {
}
```
What's more, we added an OpenTofu-only feature to let providers dynamically define custom functions based on your configuration. This enhancement allows you to fully integrate other programming languages as [shown in our live stream](https://www.youtube.com/watch?v=6OXBv0MYalY). You can try out this functionality with our experimental [Lua](https://github.com/opentofu/terraform-provider-lua) and [Go](https://github.com/opentofu/terraform-provider-go) providers.
## Removed block
The removed block lets you remove a resource from the state file but keep it on the infrastructure. We have prepared a [full documentation](../language/resources/syntax.mdx#removing-resources) for this feature. You can test it by creating a resource first:

View File

@ -61,9 +61,8 @@ locals {
}
```
### Notes for Provider Authors:
* Support for functions was added in protocol version 5.5 and 6.5.
* OpenTofu's provider protocol is compatible with Terraform's provider protocol.
* `GetProviderSchema()` is used to initially query the functions available in a given provider.
* Providers which supply functions may be configured and may supply additional functions via `GetFunctions()`.
* Providers which supply functions may be configured and may supply additional functions via `GetFunctions()`. See the experimental [Lua](https://github.com/opentofu/terraform-provider-lua) and [Go](https://github.com/opentofu/terraform-provider-go) providers for implementation examples.