Add k3s nucs to KEA and DNS
This commit is contained in:
		
							parent
							
								
									4d414c88f0
								
							
						
					
					
						commit
						05d4287d05
					
				
					 4 changed files with 94 additions and 1 deletions
				
			
		|  | @ -13,3 +13,19 @@ resource "opnsense_kea_reservation" "esphome" { | |||
|   mac_address = each.value.mac | ||||
|   description = "Lease for ${each.value.name}" | ||||
| } | ||||
| resource "opnsense_kea_reservation" "physical_home" { | ||||
|   for_each = { for i, v in var.physical_home : i => v } | ||||
| 
 | ||||
|   subnet_id   = opnsense_kea_subnet.subnets["home"].id | ||||
|   ip_address  = each.value.address | ||||
|   mac_address = each.value.mac | ||||
|   description = "Lease for ${each.value.name}" | ||||
| } | ||||
| resource "opnsense_kea_reservation" "physical_lab" { | ||||
|   for_each = { for i, v in var.physical_lab : i => v } | ||||
| 
 | ||||
|   subnet_id   = opnsense_kea_subnet.subnets["lab"].id | ||||
|   ip_address  = each.value.address | ||||
|   mac_address = each.value.mac | ||||
|   description = "Static IP for ${each.value.name}" | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue