Many things
This commit is contained in:
		
							parent
							
								
									05d4287d05
								
							
						
					
					
						commit
						4ecb167ff6
					
				
					 5 changed files with 52 additions and 67 deletions
				
			
		|  | @ -29,3 +29,11 @@ resource "opnsense_kea_reservation" "physical_lab" { | |||
|   mac_address = each.value.mac | ||||
|   description = "Static IP for ${each.value.name}" | ||||
| } | ||||
| resource "opnsense_kea_reservation" "iot_devices" { | ||||
|   for_each = { for i, v in var.iot_devices : i => v } | ||||
| 
 | ||||
|   subnet_id   = opnsense_kea_subnet.subnets["iot"].id | ||||
|   ip_address  = each.value.address | ||||
|   mac_address = each.value.mac | ||||
|   description = "Static IP for ${each.value.description}" | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue