When changing the name nothing happens, but terraform always says he wants to update
~ static_leases = [
- {
- hostname = "testlease" -> null
- ip = "192.168.1.251" -> null
- mac = "aa:aa:aa:aa:aa:aa" -> null
},
+ {
+ hostname = "testlease-new"
+ ip = "192.168.1.251"
+ mac = "aa:aa:aa:aa:aa:aa"
},
When changing the ip - same issue - nothing happens
~ static_leases = [
- {
- hostname = "testlease" -> null
- ip = "192.168.1.251" -> null
- mac = "aa:aa:aa:aa:aa:aa" -> null
},
+ {
+ hostname = "testlease"
+ ip = "192.168.1.252"
+ mac = "aa:aa:aa:aa:aa:aa"
},
when changing the mac and ip
~ static_leases = [
- {
- hostname = "testlease" -> null
- ip = "192.168.1.251" -> null
- mac = "aa:aa:aa:aa:aa:aa" -> null
},
+ {
+ hostname = "testlease"
+ ip = "192.168.1.252"
+ mac = "bb:aa:aa:aa:aa:aa"
},
Error: Unable to Update AdGuard Home Config
│
│ with adguard_config.config,
│ on dhcp.tf line 1, in resource "adguard_config" "config":
│ 1: resource "adguard_config" "config" {
│
│ status: 400, body: dhcpv4: adding static lease: adding static lease for 192.168.1.252 (bb:aa:aa:aa:aa:aa): hostname is not unique
Hi there,
thanks for your great work.
i have a problem when changing dhcp v4 leases.
When changing the name nothing happens, but terraform always says he wants to update
When changing the ip - same issue - nothing happens
when changing the mac and ip
when changing the name and the mac