From 31441332b1f7a76bff9c0f306545ac0c4357a50f Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 26 Dec 2025 14:19:45 +0100 Subject: [PATCH] terraform state --- terraform/terraform.tfstate | 415 ++++++++++++++++++++++++++++- terraform/terraform.tfstate.backup | 135 +--------- 2 files changed, 412 insertions(+), 138 deletions(-) diff --git a/terraform/terraform.tfstate b/terraform/terraform.tfstate index aa6e9f7..d9bf43c 100644 --- a/terraform/terraform.tfstate +++ b/terraform/terraform.tfstate @@ -1,10 +1,415 @@ { "version": 4, "terraform_version": "1.14.3", - "serial": 10, + "serial": 30, "lineage": "7c69e311-e46b-0d39-a679-49d13d742523", "outputs": {}, "resources": [ + { + "module": "module.dns-avii", + "mode": "managed", + "type": "hcloud_zone", + "name": "avii", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "authoritative_nameservers": { + "assigned": [ + "hydrogen.ns.hetzner.com.", + "oxygen.ns.hetzner.com.", + "helium.ns.hetzner.de." + ] + }, + "delete_protection": false, + "id": 345669, + "labels": {}, + "mode": "primary", + "name": "avii.ovh", + "primary_nameservers": [], + "registrar": "other", + "ttl": 3600 + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "module": "module.dns-avii", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "dkim", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "sig1._domainkey/CNAME", + "labels": {}, + "name": "sig1._domainkey", + "records": [ + { + "comment": "Apple Mail", + "value": "sig1.dkim.avii.ovh.at.icloudmailadmin.com." + } + ], + "ttl": null, + "type": "CNAME", + "zone": "avii.ovh" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-avii.hcloud_zone.avii" + ] + } + ] + }, + { + "module": "module.dns-avii", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "mx", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "@/MX", + "labels": {}, + "name": "@", + "records": [ + { + "comment": "Apple Mail", + "value": "10 mx01.mail.icloud.com." + }, + { + "comment": "Apple Mail", + "value": "10 mx02.mail.icloud.com." + } + ], + "ttl": null, + "type": "MX", + "zone": "avii.ovh" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-avii.hcloud_zone.avii" + ] + } + ] + }, + { + "module": "module.dns-avii", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "txt", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "@/TXT", + "labels": {}, + "name": "@", + "records": [ + { + "comment": "Apple Mail", + "value": "\"apple-domain=4Y71ffO5sr54SyCR\"" + }, + { + "comment": "Apple Mail", + "value": "\"v=spf1 include:icloud.com ~all\"" + } + ], + "ttl": null, + "type": "TXT", + "zone": "avii.ovh" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-avii.hcloud_zone.avii" + ] + } + ] + }, + { + "module": "module.dns-avlabs", + "mode": "managed", + "type": "hcloud_zone", + "name": "avlabs", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "authoritative_nameservers": { + "assigned": [ + "hydrogen.ns.hetzner.com.", + "oxygen.ns.hetzner.com.", + "helium.ns.hetzner.de." + ] + }, + "delete_protection": false, + "id": 345670, + "labels": {}, + "mode": "primary", + "name": "avlabs.ovh", + "primary_nameservers": [], + "registrar": "other", + "ttl": 3600 + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "module": "module.dns-avlabs", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "dkim", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "sig1._domainkey/CNAME", + "labels": {}, + "name": "sig1._domainkey", + "records": [ + { + "comment": "Apple Mail", + "value": "sig1.dkim.avlabs.ovh.at.icloudmailadmin.com." + } + ], + "ttl": null, + "type": "CNAME", + "zone": "avlabs.ovh" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-avlabs.hcloud_zone.avlabs" + ] + } + ] + }, + { + "module": "module.dns-avlabs", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "mx", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "@/MX", + "labels": {}, + "name": "@", + "records": [ + { + "comment": "Apple Mail", + "value": "10 mx01.mail.icloud.com." + }, + { + "comment": "Apple Mail", + "value": "10 mx02.mail.icloud.com." + } + ], + "ttl": null, + "type": "MX", + "zone": "avlabs.ovh" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-avlabs.hcloud_zone.avlabs" + ] + } + ] + }, + { + "module": "module.dns-avlabs", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "txt", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "@/TXT", + "labels": {}, + "name": "@", + "records": [ + { + "comment": "Apple Mail", + "value": "\"apple-domain=vQO4aEkojGqDBf5D\"" + }, + { + "comment": "Apple Mail", + "value": "\"v=spf1 include:icloud.com ~all\"" + } + ], + "ttl": null, + "type": "TXT", + "zone": "avlabs.ovh" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-avlabs.hcloud_zone.avlabs" + ] + } + ] + }, + { + "module": "module.dns-zenitho", + "mode": "managed", + "type": "hcloud_zone", + "name": "zenitho", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "authoritative_nameservers": { + "assigned": [ + "hydrogen.ns.hetzner.com.", + "oxygen.ns.hetzner.com.", + "helium.ns.hetzner.de." + ] + }, + "delete_protection": false, + "id": 345671, + "labels": {}, + "mode": "primary", + "name": "zenitho.de", + "primary_nameservers": [], + "registrar": "other", + "ttl": 3600 + }, + "sensitive_attributes": [], + "identity_schema_version": 0 + } + ] + }, + { + "module": "module.dns-zenitho", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "dkim", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "sig1._domainkey/CNAME", + "labels": {}, + "name": "sig1._domainkey", + "records": [ + { + "comment": "Apple Mail", + "value": "sig1.dkim.zenitho.de.at.icloudmailadmin.com." + } + ], + "ttl": null, + "type": "CNAME", + "zone": "zenitho.de" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-zenitho.hcloud_zone.zenitho" + ] + } + ] + }, + { + "module": "module.dns-zenitho", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "mx", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "@/MX", + "labels": {}, + "name": "@", + "records": [ + { + "comment": "Apple Mail", + "value": "10 mx01.mail.icloud.com." + }, + { + "comment": "Apple Mail", + "value": "10 mx02.mail.icloud.com." + } + ], + "ttl": null, + "type": "MX", + "zone": "zenitho.de" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-zenitho.hcloud_zone.zenitho" + ] + } + ] + }, + { + "module": "module.dns-zenitho", + "mode": "managed", + "type": "hcloud_zone_rrset", + "name": "txt", + "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", + "instances": [ + { + "schema_version": 0, + "attributes": { + "change_protection": false, + "id": "@/TXT", + "labels": {}, + "name": "@", + "records": [ + { + "comment": "Apple Mail", + "value": "\"apple-domain=DZsJe5U3xyjT6KQp\"" + }, + { + "comment": "Apple Mail", + "value": "\"v=spf1 include:icloud.com ~all\"" + } + ], + "ttl": null, + "type": "TXT", + "zone": "zenitho.de" + }, + "sensitive_attributes": [], + "identity_schema_version": 0, + "dependencies": [ + "module.dns-zenitho.hcloud_zone.zenitho" + ] + } + ] + }, { "module": "module.private-network", "mode": "managed", @@ -17,7 +422,7 @@ "attributes": { "delete_protection": false, "expose_routes_to_vswitch": false, - "id": "11776424", + "id": "11780768", "ip_range": "10.0.0.0/8", "labels": { "environment": "production" @@ -41,9 +446,9 @@ "schema_version": 0, "attributes": { "gateway": "10.0.0.1", - "id": "11776424-10.0.1.0/24", + "id": "11780768-10.0.1.0/24", "ip_range": "10.0.1.0/24", - "network_id": 11776424, + "network_id": 11780768, "network_zone": "eu-central", "type": "cloud", "vswitch_id": null @@ -68,7 +473,7 @@ "schema_version": 0, "attributes": { "apply_to": [], - "id": "10325524", + "id": "10332800", "labels": { "environment": "production" }, diff --git a/terraform/terraform.tfstate.backup b/terraform/terraform.tfstate.backup index 8fc3ecc..9f2ac06 100644 --- a/terraform/terraform.tfstate.backup +++ b/terraform/terraform.tfstate.backup @@ -1,140 +1,9 @@ { "version": 4, "terraform_version": "1.14.3", - "serial": 7, + "serial": 14, "lineage": "7c69e311-e46b-0d39-a679-49d13d742523", "outputs": {}, - "resources": [ - { - "module": "module.private-network", - "mode": "managed", - "type": "hcloud_network", - "name": "privnet", - "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "delete_protection": false, - "expose_routes_to_vswitch": false, - "id": "11776424", - "ip_range": "10.0.0.0/8", - "labels": null, - "name": "privnet" - }, - "sensitive_attributes": [], - "identity_schema_version": 0, - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.private-network", - "mode": "managed", - "type": "hcloud_network_subnet", - "name": "privsubnet", - "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "gateway": "10.0.0.1", - "id": "11776424-10.0.1.0/24", - "ip_range": "10.0.1.0/24", - "network_id": 11776424, - "network_zone": "eu-central", - "type": "cloud", - "vswitch_id": null - }, - "sensitive_attributes": [], - "identity_schema_version": 0, - "private": "bnVsbA==", - "dependencies": [ - "module.private-network.hcloud_network.privnet" - ] - } - ] - }, - { - "module": "module.prod-firewall", - "mode": "managed", - "type": "hcloud_firewall", - "name": "prod-fw", - "provider": "provider[\"registry.terraform.io/hetznercloud/hcloud\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "apply_to": [], - "id": "10325524", - "labels": { - "environment": "production" - }, - "name": "prod-fw", - "rule": [ - { - "description": "Allow HTTP", - "destination_ips": [], - "direction": "in", - "port": "80", - "protocol": "tcp", - "source_ips": [ - "0.0.0.0/0", - "::/0" - ] - }, - { - "description": "Allow HTTP/S", - "destination_ips": [], - "direction": "in", - "port": "443", - "protocol": "tcp", - "source_ips": [ - "0.0.0.0/0", - "::/0" - ] - }, - { - "description": "Allow SSH", - "destination_ips": [], - "direction": "in", - "port": "22", - "protocol": "tcp", - "source_ips": [ - "0.0.0.0/0", - "::/0" - ] - }, - { - "description": "Allow all outbound TCP traffic", - "destination_ips": [ - "0.0.0.0/0", - "::/0" - ], - "direction": "out", - "port": "", - "protocol": "tcp", - "source_ips": [] - }, - { - "description": "Allow all outbound UDP traffic", - "destination_ips": [ - "0.0.0.0/0", - "::/0" - ], - "direction": "out", - "port": "", - "protocol": "udp", - "source_ips": [] - } - ] - }, - "sensitive_attributes": [], - "identity_schema_version": 0, - "private": "bnVsbA==" - } - ] - } - ], + "resources": [], "check_results": null }