terraform-provider-gitea/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/fromproto/types.go
Tobias Trabelsi e1266ebf64
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build encountered an error
updated GHA
Update to v2 SDK
updated dependencies
2022-08-06 16:21:18 +02:00

14 lines
311 B
Go

package fromproto
import (
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
"github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5"
)
func DynamicValue(in *tfplugin5.DynamicValue) *tfprotov5.DynamicValue {
return &tfprotov5.DynamicValue{
MsgPack: in.Msgpack,
JSON: in.Json,
}
}