Files
homelab/opentofu/unifi.tf
T
k.renner 3aa23aa2b3
Deploy Infrastructure / plan (push) Failing after 19s
Deploy Infrastructure / apply (push) Has been skipped
Security Audit / Infrastructure Scan (IaC) (push) Successful in 17s
Ansible Setup / ansible (push) Successful in 2m13s
Security Audit / Docker Image Scan (docker.io/gotenberg/gotenberg:8) (push) Failing after 2m54s
Security Audit / Docker Image Scan (docker.io/library/postgres:15) (push) Failing after 31s
Security Audit / Docker Image Scan (docker.io/library/redis:7) (push) Failing after 17s
Security Audit / Docker Image Scan (ghcr.io/icereed/paperless-gpt:latest) (push) Failing after 17s
Security Audit / Docker Image Scan (ghcr.io/paperless-ngx/paperless-ngx:latest) (push) Failing after 2m47s
Security Audit / Docker Image Scan (shenxn/protonmail-bridge:latest) (push) Successful in 17s
Security Audit / Docker Image Scan (docker.io/apache/tika:latest) (push) Failing after 9m48s
Add Unifi and Cloudflare provider configurations and examples
2026-02-02 21:54:10 +01:00

35 lines
816 B
Terraform

# Example: Manage a Network
# resource "unifi_network" "example_vlan" {
# name = "terraform-test"
# site = "default"
# purpose = "corporate"
# subnet = "10.10.10.1/24"
# vlan_id = 10
# dhcp_start = "10.10.10.100"
# dhcp_stop = "10.10.10.200"
# dhcp_enabled = true
# }
# Example: Manage a WLAN
# resource "unifi_wlan" "example_wifi" {
# name = "Terraform WiFi"
# site = "default"
# passphrase = "supersecretpassword"
# security = "wpapsk"
# network_id = unifi_network.example_vlan.id
# }
resource "unifi_dns_record" "s3_vip" {
name = "s3.renner.uno"
record_type = "A"
value = "10.2.40.101"
enabled = true
}
resource "unifi_dns_record" "caddy_vip" {
name = "ingress.renner.uno"
record_type = "A"
value = "10.2.45.100"
enabled = true
}