package google import ( "fmt" "testing" "github.com/hashicorp/terraform/helper/resource" ) func TestAccGoogleProject_importBasic(t *testing.T) { resourceName := "google_project.acceptance" conf := fmt.Sprintf(testAccGoogleProject_basic, projectId) resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, Steps: []resource.TestStep{ resource.TestStep{ Config: conf, }, resource.TestStep{ ResourceName: resourceName, ImportState: true, ImportStateVerify: true, }, }, }) }