Closed vaerh closed 4 days ago
After reflecting on this issue, I conclude that this resource can be realized. But its work will contradict the concept of terraform: at the moment of deployment of the configuration we create a pool of IP addresses and make it possible to connect clients, but we can not describe the clients about the connection of which we do not know anything. The only correct way to create an entry with static IP address leases is to clearly describe them. Translation of dynamic records makes no sense, because we solve the issue of address fixing, but we lose the ability to manage the life cycle of the client record. Also, the further functioning of the deployed infrastructure has nothing to do with random processes occurring outside.
We should try to add this feature for DHCP addresses.