func NewRefResolver(config *hclConfigs.Config,
	parentModuleCall *hclConfigs.ModuleCall) *RefResolver {
	return &RefResolver{
		Config:           config,
		ParentModuleCall: parentModuleCall,
	}
}
NewRefResolver returns a new RefResolver struct
package commons
import (
	"encoding/json"
	"reflect"
	"regexp"
	hclConfigs "github.com/hashicorp/terraform/configs"
	"go.uber.org/zap"
)
var (
	refPattern = regexp.MustCompile(`\$\{.*\}`)
)
type RefResolver struct {
	Config           *hclConfigs.Config
	ParentModuleCall *hclConfigs.ModuleCall
}