gmichels / terraform-provider-adguard

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

Issue with "-" in domain name #90

Closed durandguru closed 9 months ago

durandguru commented 9 months ago

When using an domain name with an "-" in the name the provider throws an error. The same name without the "-" works fine.

│ Error: Invalid Attribute Value Match │ │ with adguard_config.u-steck-fw, │ on config.tf line 1, in resource "adguard_config" "u-steck-fw": │ 1: resource "adguard_config" "u-steck-fw" { │ │ Attribute querylog.ignored[Value("wpad.u-steck.nl")] must be a valid domain name, got: wpad.u-steck.nl ╵ ╷ │ Error: Invalid Attribute Value Match │ │ with adguard_config.u-steck-fw, │ on config.tf line 1, in resource "adguard_config" "u-steck-fw": │ 1: resource "adguard_config" "u-steck-fw" { │ │ Attribute stats.ignored[Value("wpad.u-steck.nl")] must be a valid domain name, got: wpad.u-steck.nl