gmichels / terraform-provider-adguard

Terraform provider for AdGuard
https://registry.terraform.io/providers/gmichels/adguard/latest/docs
MIT License
11 stars 6 forks source link

Add support for missing blocked service options #107

Open jreiml opened 1 week ago

jreiml commented 1 week ago

For the latest version of Adguard (v0.107.54), the blocked_services property in the adguard_client resource does not handle all available services.

The following services are currently missing:

It might be a good idea to dynamically load the available services from the GetBlockedServicesList method.

gmichels commented 3 days ago

Terraform schema is supposed to be static by design, so it doesn't easily support validating the provided values against dynamic values. There are ways around it though... I will see what can be done, as it makes sense to have it dynamic.