Mastercard / terraform-provider-restapi

A terraform provider to manage objects in a RESTful API
Other
785 stars 215 forks source link

[Feature Request] Moving all the parameters from the provider to restapi_object #250

Open marcosdiez opened 7 months ago

marcosdiez commented 7 months ago

Since this provider has only one resource, it would be great if all the parameters were moved from the provider section to the restapi_object section.

That would be great in cases the provider is called within a module and the module is smart enough to get the secret and settings (uri) directly from the whatever secret store one uses.

Which means outside of the module zero settings whatsoever would be needed.

In order to keep backward compatibility, the parameters should be optional in the provider and in the resource, but the ones in the resource would have preference.