"github.com/zclconf/go-cty/cty"
ctyjson "github.com/zclconf/go-cty/cty/json"
- "github.com/hashicorp/terraform/config"
+ "github.com/hashicorp/terraform/config/hcl2shim"
"github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/terraform"
)
for k, v := range cfg {
switch v := v.(type) {
case string:
- if v == config.UnknownVariableValue {
+ if v == hcl2shim.UnknownVariableValue {
delete(cfg, k)
}
case []interface{}: