aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go')
-rw-r--r--vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go b/vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go
index 9e422c1..222b2cc 100644
--- a/vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go
+++ b/vendor/github.com/hashicorp/terraform/helper/schema/resource_timeout.go
@@ -5,7 +5,7 @@ import (
5 "log" 5 "log"
6 "time" 6 "time"
7 7
8 "github.com/hashicorp/terraform/config" 8 "github.com/hashicorp/terraform/config/hcl2shim"
9 "github.com/hashicorp/terraform/terraform" 9 "github.com/hashicorp/terraform/terraform"
10 "github.com/mitchellh/copystructure" 10 "github.com/mitchellh/copystructure"
11) 11)
@@ -70,7 +70,7 @@ func (t *ResourceTimeout) ConfigDecode(s *Resource, c *terraform.ResourceConfig)
70 case []map[string]interface{}: 70 case []map[string]interface{}:
71 rawTimeouts = raw 71 rawTimeouts = raw
72 case string: 72 case string:
73 if raw == config.UnknownVariableValue { 73 if raw == hcl2shim.UnknownVariableValue {
74 // Timeout is not defined in the config 74 // Timeout is not defined in the config
75 // Defaults will be used instead 75 // Defaults will be used instead
76 return nil 76 return nil