Added Opnsense
This commit is contained in:
		
							parent
							
								
									539c8110dd
								
							
						
					
					
						commit
						88df812db9
					
				
					 10 changed files with 175 additions and 44 deletions
				
			
		
							
								
								
									
										12
									
								
								non-lab/dns.tf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								non-lab/dns.tf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| 
 | ||||
| resource "opnsense_unbound_host_override" "esphome" { | ||||
| 
 | ||||
|   #for_each = var.esphome_boards | ||||
|   for_each = { for i, v in var.esphome_boards : i => v } | ||||
| 
 | ||||
|   enabled     = true | ||||
|   description = "ESPHome MCU for ${each.value.name}" | ||||
|   hostname    = each.value.name | ||||
|   domain      = "home.cowley.tech" | ||||
|   server      = each.value.address | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue