You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/plugin/framework/migrating/attributes-blocks/default-values.mdx
+9-17
Original file line number
Diff line number
Diff line change
@@ -61,24 +61,16 @@ In the Framework, you must implement an attribute plan modifier to set default v
61
61
62
62
## Example
63
63
64
-
The following examples show how to migrate portions of the [tls](https://github.com/hashicorp/terraform-provider-tls)
65
-
provider.
66
-
67
-
For a complete example, clone the
68
-
`terraform-provider-tls` repository and compare the `resource_private_key.go` file in
69
-
[v3.4.0](https://github.com/hashicorp/terraform-provider-tls/blob/v3.4.0/internal/provider/resource_private_key.go) with the file
70
-
[after the migration](https://github.com/hashicorp/terraform-provider-tls/blob/4dafb105818e45a88532f917e7b170ee2a9bb092/internal/provider/resource_private_key.go).
71
-
72
64
### SDKv2
73
65
74
-
The following example from the `resource_private_key.go` file shows the implementation of the `Default` field for the
75
-
`rsa_bits` attribute on the `tls_private_key` resource with SDKv2.
66
+
The following example shows the implementation of the `Default` field for the
67
+
`example_attribute` attribute on the `exampleResource` resource with SDKv2.
0 commit comments