diff --git a/resource_isValid.go b/resource_isValid.go index c6b6a18..fbcfe45 100644 --- a/resource_isValid.go +++ b/resource_isValid.go @@ -35,7 +35,7 @@ func resourceIsValid() *schema.Resource { func resourceIsValidCreate(d *schema.ResourceData, m interface{}) error { name := d.Get("name").(string) - test := d.Get("test").(string) + test := d.Get("test").(bool) d.SetId(name) d.Set("name", name) d.Set("test", test)