package scaleway import ( "testing" "github.com/hashicorp/terraform/helper/resource" ) func TestAccScalewaySecurityGroup_importBasic(t *testing.T) { resourceName := "scaleway_security_group.base" resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, CheckDestroy: testAccCheckScalewaySecurityGroupDestroy, Steps: []resource.TestStep{ resource.TestStep{ Config: testAccCheckScalewaySecurityGroupConfig, }, resource.TestStep{ ResourceName: resourceName, ImportState: true, ImportStateVerify: true, }, }, }) }