From 09b53c3e7bde127e4821692d3f7533bcfc9a48f1 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Fri, 15 Mar 2024 14:53:51 -0400 Subject: [PATCH] Correct resource State Move documentation (#957) * 'ResourceWithStateMove' -> 'ResourceWithMoveState'. * 'StateMove' method -> 'MoveState'. --- website/docs/plugin/framework/resources/state-move.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/plugin/framework/resources/state-move.mdx b/website/docs/plugin/framework/resources/state-move.mdx index 5d01e11df..8d1e4eb4c 100644 --- a/website/docs/plugin/framework/resources/state-move.mdx +++ b/website/docs/plugin/framework/resources/state-move.mdx @@ -37,9 +37,9 @@ The framework implementation does the following: ## Implementation -Implement the [`resource.ResourceWithStateMove` interface](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework/resource#ResourceWithStateMove) for the [`resource.Resource`](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework/resource#Resource). That interface requires the `StateMove` method, which enables individual source resource criteria and logic for each source resource type to support. +Implement the [`resource.ResourceWithMoveState` interface](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework/resource#ResourceWithMoveState) for the [`resource.Resource`](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework/resource#Resource). That interface requires the `MoveState` method, which enables individual source resource criteria and logic for each source resource type to support. -This example shows a `Resource` with the necessary `StateMove` method to implement the `ResourceWithStateMove` interface: +This example shows a `Resource` with the necessary `MoveState` method to implement the `ResourceWithMoveState` interface: ```go // Other Resource methods are omitted in this example