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 RawState(in *tfplugin6.RawState) *tfprotov6.RawState {
|
|
|
|
return &tfprotov6.RawState{
|
|
|
|
JSON: in.Json,
|
|
|
|
Flatmap: in.Flatmap,
|
|
|
|
}
|
|
|
|
}
|