]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/hashicorp/terraform/helper/schema/shims.go
update vendor and go.mod
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / helper / schema / shims.go
index 203d01704f4f47503986df282d496271e1376c49..988573e274a88f74314363eb2b992f69d0487ca3 100644 (file)
@@ -6,7 +6,7 @@ import (
        "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"
 )
@@ -50,7 +50,7 @@ func removeConfigUnknowns(cfg map[string]interface{}) {
        for k, v := range cfg {
                switch v := v.(type) {
                case string:
-                       if v == config.UnknownVariableValue {
+                       if v == hcl2shim.UnknownVariableValue {
                                delete(cfg, k)
                        }
                case []interface{}: