Skip to content

Commit 969d17a

Browse files
committed
docs: Remove technical preview verbiage from provider-defined functions
Reference: #966
1 parent 484f311 commit 969d17a

File tree

6 files changed

+8
-21
lines changed

6 files changed

+8
-21
lines changed

Diff for: .changes/unreleased/NOTES-20240329-133959.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: NOTES
2+
body: 'function: Provider-defined function features are now considered generally available
3+
and protected by compatibility promises'
4+
time: 2024-03-29T13:39:59.085147-04:00
5+
custom:
6+
Issue: "966"

Diff for: function/definition.go

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ import (
1212
)
1313

1414
// Definition is a function definition. Always set at least the Result field.
15-
//
16-
// NOTE: Provider-defined function support is in technical preview and offered
17-
// without compatibility promises until Terraform 1.8 is generally available.
1815
type Definition struct {
1916
// Parameters is the ordered list of function parameters and their
2017
// associated data types.

Diff for: function/function.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import (
1010
// Function represents an instance of a function. This is the core interface
1111
// that all functions must implement.
1212
//
13-
// NOTE: Provider-defined function support is in technical preview and offered
14-
// without compatibility promises until Terraform 1.8 is generally available.
13+
// Provider-defined functions are supported in Terraform version 1.8 and later.
1514
type Function interface {
1615
// Metadata should return the name of the function, such as parse_xyz.
1716
Metadata(context.Context, MetadataRequest, *MetadataResponse)

Diff for: provider/provider.go

-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ type ProviderWithConfigValidators interface {
7474
// include provider defined functions for usage in practitioner configurations.
7575
//
7676
// Provider-defined functions are supported in Terraform version 1.8 and later.
77-
//
78-
// NOTE: Provider-defined function support is in technical preview and offered
79-
// without compatibility promises until Terraform 1.8 is generally available.
8077
type ProviderWithFunctions interface {
8178
Provider
8279

Diff for: website/docs/plugin/framework/functions/implementation.mdx

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ description: >-
66

77
# Implement Functions
88

9-
<Highlight>
10-
11-
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available.
12-
13-
</Highlight>
14-
15-
The framework supports implementing functions based on Terraform's [concepts for provider-defined functions](/terraform/plugin/framework/functions/concepts). It is recommended to understand those concepts before implementing a function since the terminology is used throughout this page and there are details that simplify function handling as compared to other provider concepts.
9+
The framework supports implementing functions based on Terraform's [concepts for provider-defined functions](/terraform/plugin/framework/functions/concepts). It is recommended to understand those concepts before implementing a function since the terminology is used throughout this page and there are details that simplify function handling as compared to other provider concepts. Provider-defined functions are supported in Terraform 1.8 and later.
1610

1711
The main code components of a function implementation are:
1812

Diff for: website/docs/plugin/framework/functions/index.mdx

-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ description: >-
88

99
# Functions
1010

11-
<Highlight>
12-
13-
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available.
14-
15-
</Highlight>
16-
1711
Functions are an abstraction that allow providers to expose computational logic beyond Terraform's [built-in functions](/terraform/language/functions) and simplify practitioner configurations. Provider-defined functions are supported in Terraform 1.8 and later.
1812

1913
<Note>

0 commit comments

Comments
 (0)