diff options
author | Xiangxuan Liu <xiangxuan.liu@rightcapital.com> | 2019-06-18 11:21:00 +0800 |
---|---|---|
committer | Xiangxuan Liu <xiangxuan.liu@rightcapital.com> | 2019-06-18 11:32:33 +0800 |
commit | cfbd89c06cc2bfc2e4defc067dc3a8841404a95d (patch) | |
tree | eb1c92991855b3998c857f415c10c096d0e024c8 /statuscake/resource_statuscaketest.go | |
parent | ccbb72b7349103fd7e39a47a2ec5312bcc00017f (diff) | |
download | terraform-provider-statuscake-cfbd89c06cc2bfc2e4defc067dc3a8841404a95d.tar.gz terraform-provider-statuscake-cfbd89c06cc2bfc2e4defc067dc3a8841404a95d.tar.zst terraform-provider-statuscake-cfbd89c06cc2bfc2e4defc067dc3a8841404a95d.zip |
Add importer
Diffstat (limited to 'statuscake/resource_statuscaketest.go')
-rw-r--r-- | statuscake/resource_statuscaketest.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/statuscake/resource_statuscaketest.go b/statuscake/resource_statuscaketest.go index b062456..d8604e6 100644 --- a/statuscake/resource_statuscaketest.go +++ b/statuscake/resource_statuscaketest.go | |||
@@ -34,6 +34,9 @@ func resourceStatusCakeTest() *schema.Resource { | |||
34 | Update: UpdateTest, | 34 | Update: UpdateTest, |
35 | Delete: DeleteTest, | 35 | Delete: DeleteTest, |
36 | Read: ReadTest, | 36 | Read: ReadTest, |
37 | Importer: &schema.ResourceImporter{ | ||
38 | State: schema.ImportStatePassthrough, | ||
39 | }, | ||
37 | 40 | ||
38 | Schema: map[string]*schema.Schema{ | 41 | Schema: map[string]*schema.Schema{ |
39 | "test_id": { | 42 | "test_id": { |