{
  "version": 4,
  "terraform_version": "1.12.1",
  "serial": 10,
  "lineage": "e30bacde-4347-6fcf-8c6e-39c7770df9d2",
  "outputs": {
    "container_ip": {
      "value": "192.168.1.244/24",
      "type": "string"
    }
  },
  "resources": [
    {
      "mode": "managed",
      "type": "proxmox_virtual_environment_container",
      "name": "torrent",
      "provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "clone": [],
            "console": [],
            "cpu": [
              {
                "architecture": "amd64",
                "cores": 1,
                "limit": 0,
                "units": 0
              }
            ],
            "description": "Torrent - transmission-daemon over WireGuard (VPN-enforced egress)\n",
            "device_passthrough": [],
            "disk": [
              {
                "acl": false,
                "datastore_id": "local-lvm",
                "mount_options": [],
                "path_in_datastore": "local-lvm:vm-244-disk-0",
                "quota": false,
                "replicate": false,
                "size": 64
              }
            ],
            "environment_variables": {},
            "features": [],
            "hook_script_file_id": "",
            "id": "244",
            "idmap": [],
            "initialization": [
              {
                "dns": [
                  {
                    "domain": "",
                    "server": "",
                    "servers": [
                      "192.168.1.220"
                    ]
                  }
                ],
                "entrypoint": "",
                "hostname": "torrent",
                "ip_config": [
                  {
                    "ipv4": [
                      {
                        "address": "192.168.1.244/24",
                        "gateway": "192.168.1.254"
                      }
                    ],
                    "ipv6": []
                  }
                ],
                "user_account": [
                  {
                    "keys": [
                      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBFdFounojq2DhqbSwyHEolHUhYTlW4jJepiW3oV43h7 charles@charles-desktop",
                      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICyR+4EXRMIIIs7XOL9jSJkPvPnkdvAGc6Rs2WfTsprl ci@proxmox-iac"
                    ],
                    "password": "c21a03663a49b1c3c99ba07540225bfd"
                  }
                ]
              }
            ],
            "ipv4": {
              "eth0": "192.168.1.244",
              "wg0": "10.163.49.100"
            },
            "ipv6": {},
            "memory": [
              {
                "dedicated": 512,
                "swap": 256
              }
            ],
            "mount_point": [],
            "network_interface": [
              {
                "bridge": "vmbr0",
                "enabled": true,
                "firewall": true,
                "host_managed": false,
                "mac_address": "BC:24:11:A7:79:A5",
                "mtu": 0,
                "name": "eth0",
                "rate_limit": 0,
                "vlan_id": 0
              }
            ],
            "node_name": "proxmox",
            "operating_system": [
              {
                "template_file_id": "local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst",
                "type": "debian"
              }
            ],
            "pool_id": null,
            "protection": false,
            "start_on_boot": true,
            "started": true,
            "startup": [],
            "tags": [
              "iac",
              "torrent"
            ],
            "template": false,
            "timeout_clone": 1800,
            "timeout_create": 1800,
            "timeout_delete": 60,
            "timeout_start": 300,
            "timeout_update": 1800,
            "unprivileged": true,
            "vm_id": 244,
            "wait_for_ip": []
          },
          "sensitive_attributes": [
            [
              {
                "type": "get_attr",
                "value": "initialization"
              },
              {
                "type": "index",
                "value": {
                  "value": 0,
                  "type": "number"
                }
              },
              {
                "type": "get_attr",
                "value": "user_account"
              },
              {
                "type": "index",
                "value": {
                  "value": 0,
                  "type": "number"
                }
              },
              {
                "type": "get_attr",
                "value": "password"
              }
            ]
          ],
          "identity_schema_version": 0,
          "private": "bnVsbA=="
        }
      ]
    },
    {
      "module": "module.fw",
      "mode": "managed",
      "type": "proxmox_virtual_environment_firewall_options",
      "name": "this",
      "provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "container_id": 244,
            "dhcp": false,
            "enabled": true,
            "id": "options-826341489",
            "input_policy": "DROP",
            "ipfilter": true,
            "log_level_in": "nolog",
            "log_level_out": "nolog",
            "macfilter": true,
            "ndp": false,
            "node_name": "proxmox",
            "output_policy": "ACCEPT",
            "radv": true,
            "vm_id": null
          },
          "sensitive_attributes": [],
          "identity_schema_version": 0,
          "private": "bnVsbA==",
          "dependencies": [
            "proxmox_virtual_environment_container.torrent"
          ]
        }
      ]
    },
    {
      "module": "module.fw",
      "mode": "managed",
      "type": "proxmox_virtual_environment_firewall_rules",
      "name": "this",
      "provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "container_id": 244,
            "id": "rule-1986584145",
            "node_name": "proxmox",
            "rule": [
              {
                "action": "ACCEPT",
                "comment": "SSH from LAN (CI/admin)",
                "dest": "",
                "dport": "22",
                "enabled": true,
                "iface": "",
                "log": "",
                "macro": "",
                "pos": 0,
                "proto": "tcp",
                "security_group": "",
                "source": "192.168.1.0/24",
                "sport": "",
                "type": "in"
              },
              {
                "action": "ACCEPT",
                "comment": "node_exporter scrape (Prometheus)",
                "dest": "",
                "dport": "9100",
                "enabled": true,
                "iface": "",
                "log": "",
                "macro": "",
                "pos": 1,
                "proto": "tcp",
                "security_group": "",
                "source": "192.168.1.212",
                "sport": "",
                "type": "in"
              },
              {
                "action": "ACCEPT",
                "comment": "ICMP from LAN (monitoring/diagnostics)",
                "dest": "",
                "dport": "",
                "enabled": true,
                "iface": "",
                "log": "",
                "macro": "",
                "pos": 2,
                "proto": "icmp",
                "security_group": "",
                "source": "192.168.1.0/24",
                "sport": "",
                "type": "in"
              },
              {
                "action": "ACCEPT",
                "comment": "Transmission RPC from Caddy",
                "dest": "",
                "dport": "9091",
                "enabled": true,
                "iface": "",
                "log": "",
                "macro": "",
                "pos": 3,
                "proto": "tcp",
                "security_group": "",
                "source": "192.168.1.240",
                "sport": "",
                "type": "in"
              }
            ],
            "vm_id": null
          },
          "sensitive_attributes": [],
          "identity_schema_version": 0,
          "private": "bnVsbA==",
          "dependencies": [
            "proxmox_virtual_environment_container.torrent"
          ]
        }
      ]
    }
  ],
  "check_results": null
}
