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
18
terraform/unifi/networks.tf
Normal file
18
terraform/unifi/networks.tf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
resource "unifi_network" "trusted" {
|
||||
name = "Trusted"
|
||||
vlan_id = 10
|
||||
subnet = "192.168.10.1/24"
|
||||
}
|
||||
|
||||
resource "unifi_network" "iot" {
|
||||
name = "IOT"
|
||||
vlan_id = 20
|
||||
subnet = "192.168.1.20.1/24"
|
||||
}
|
||||
|
||||
resource "unifi_network" "guest" {
|
||||
name = "Guest"
|
||||
vlan_id = 30
|
||||
subnet = "192.168.1.30.1/24"
|
||||
purpose = "Guest"
|
||||
}
|
||||
Loading…
Reference in a new issue