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.
This commit is contained in:
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…
Reference in New Issue