provider/test: allow test_resource to be imported

When working on the core import code, it's useful to have a zero-cost
local resource to work with for quick iteration.
pull/15208/head
Martin Atkins 9 years ago
parent edf3cd7159
commit f695e8b330

@ -12,6 +12,11 @@ func testResource() *schema.Resource {
Read: testResourceRead,
Update: testResourceUpdate,
Delete: testResourceDelete,
Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
},
Schema: map[string]*schema.Schema{
"required": {
Type: schema.TypeString,

Loading…
Cancel
Save