From 487b616af3c63cb4f932231d946ae83d11402a55 Mon Sep 17 00:00:00 2001 From: George Nikolopoulos Date: Mon, 6 Jul 2020 17:46:07 +0300 Subject: [PATCH] Implement import operation for resource server Signed-off-by: George Nikolopoulos --- citrixadc/resource_citrixadc_server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/citrixadc/resource_citrixadc_server.go b/citrixadc/resource_citrixadc_server.go index e29700d31..dc66328e9 100644 --- a/citrixadc/resource_citrixadc_server.go +++ b/citrixadc/resource_citrixadc_server.go @@ -18,6 +18,9 @@ func resourceCitrixAdcServer() *schema.Resource { Read: readServerFunc, Update: updateServerFunc, Delete: deleteServerFunc, + Importer: &schema.ResourceImporter{ + State: schema.ImportStatePassthrough, + }, Schema: map[string]*schema.Schema{ "comment": &schema.Schema{ Type: schema.TypeString,