joneshf / terraform-provider-openwrt

A Terraform provider for OpenWrt using LuCI's JSON-RPC API
https://registry.terraform.io/providers/joneshf/openwrt
Mozilla Public License 2.0
33 stars 8 forks source link

Support provider_override #139

Open maxexcloo opened 4 months ago

maxexcloo commented 4 months ago

Is your feature request related to a problem? Please describe. Currently I need to define a provider for each server, I would like to be able to do this on a resource level.

Describe the solution you'd like Add a provider_override tag into a resource and have that override the provider defaults for that resource, options would be the same as the provider options.

Describe alternatives you've considered Manually creating every provider, leads to a ton of duplication and is quite messy.

Additional context An example is here: https://registry.terraform.io/providers/TelkomIndonesia/linux/latest/docs#provider-override