mirror of
https://github.com/mr0xb/home-iac.git
synced 2026-08-28 03:44:57 -04:00
initial commit
This commit is contained in:
commit
5e3d71294d
10 changed files with 274 additions and 0 deletions
29
terraform/unifi/dns.tf
Normal file
29
terraform/unifi/dns.tf
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
resource "unifi_static_dns" "home_assistant" {
|
||||
key = "ha.local"
|
||||
value = "192.168.1.206"
|
||||
record_type = "A"
|
||||
enabled = true
|
||||
}
|
||||
|
||||
resource "unifi_static_dns" "debmini" {
|
||||
key = "debmini.local"
|
||||
value = "192.168.1.206"
|
||||
record_type = "A"
|
||||
enabled = true
|
||||
}
|
||||
|
||||
resource "unifi_static_dns" "pihole" {
|
||||
key = "pihole.local"
|
||||
value = "192.168.1.207"
|
||||
record_type = "A"
|
||||
enabled = true
|
||||
}
|
||||
|
||||
resource "unifi_static_dns" "imagevault" {
|
||||
key = "imagevault.local"
|
||||
value = "192.168.1.208"
|
||||
record_type = "A"
|
||||
enabled = true
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in a new issue