2023-07-03 20:21:30 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-08-06 14:21:18 +00:00
|
|
|
package fromproto
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
|
|
|
|
"github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6"
|
|
|
|
)
|
|
|
|
|
|
|
|
func DynamicValue(in *tfplugin6.DynamicValue) *tfprotov6.DynamicValue {
|
|
|
|
return &tfprotov6.DynamicValue{
|
|
|
|
MsgPack: in.Msgpack,
|
|
|
|
JSON: in.Json,
|
|
|
|
}
|
|
|
|
}
|