package aws import ( "testing" "github.com/hashicorp/terraform/helper/resource" ) func TestAccAWSVpnConnection_importBasic(t *testing.T) { resourceName := "aws_vpn_connection.foo" resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, CheckDestroy: testAccAwsVpnConnectionDestroy, Steps: []resource.TestStep{ { Config: testAccAwsVpnConnectionConfig, }, { ResourceName: resourceName, ImportState: true, ImportStateVerify: true, }, }, }) }