magodo / terraform-provider-restful

Terraform provider to manage RESTful resources
https://registry.terraform.io/providers/magodo/restful
Mozilla Public License 2.0
15 stars 5 forks source link

`restful_resource` - Update `import_spec` to remove some unnecessary properties, and allow `body` to be optional #71

Closed magodo closed 11 months ago

magodo commented 11 months ago

Previously, the body is required to specify in the import spec (though the document said it is optional). This PR makes it truely optional.

Meanwhile, we removed several unnecessary properties from the import spec, in order to make the import spec as simple as possible, where only id and path are required now.