diff --git a/provider/resource_config_auth.go b/provider/resource_config_auth.go index 45d514d..461e288 100644 --- a/provider/resource_config_auth.go +++ b/provider/resource_config_auth.go @@ -161,6 +161,12 @@ func resourceConfigAuth() *schema.Resource { Read: resourceConfigAuthRead, Update: resourceConfigAuthCreate, Delete: resourceConfigAuthDelete, + Importer: &schema.ResourceImporter{ + State: func(d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) { + resourceConfigAuthRead(d, m) + return []*schema.ResourceData{d}, nil + }, + }, } } diff --git a/provider/resource_config_system.go b/provider/resource_config_system.go index 2ce5b0b..f7e2840 100644 --- a/provider/resource_config_system.go +++ b/provider/resource_config_system.go @@ -42,6 +42,12 @@ func resourceConfigSystem() *schema.Resource { Read: resourceConfigSystemRead, Update: resourceConfigSystemCreate, Delete: resourceConfigSystemDelete, + Importer: &schema.ResourceImporter{ + State: func(d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) { + resourceConfigSystemRead(d, m) + return []*schema.ResourceData{d}, nil + }, + }, } }