548 lines
15 KiB
JSON
548 lines
15 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.14.3",
|
|
"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",
|
|
"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": "11780768",
|
|
"ip_range": "10.0.0.0/8",
|
|
"labels": {
|
|
"environment": "production"
|
|
},
|
|
"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": "11780768-10.0.1.0/24",
|
|
"ip_range": "10.0.1.0/24",
|
|
"network_id": 11780768,
|
|
"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": "10332800",
|
|
"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=="
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|