{
  "version": 4,
  "terraform_version": "1.12.1",
  "serial": 12,
  "lineage": "6450eec6-ef04-7d6b-5be9-55d8cef38412",
  "outputs": {
    "valkey_ct_id": {
      "value": 230,
      "type": "number"
    },
    "valkey_url": {
      "value": "redis://192.168.1.230:6379",
      "type": "string"
    }
  },
  "resources": [
    {
      "mode": "managed",
      "type": "proxmox_virtual_environment_container",
      "name": "valkey",
      "provider": "provider[\"registry.terraform.io/bpg/proxmox\"]",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "clone": [],
            "console": [],
            "cpu": [
              {
                "architecture": "amd64",
                "cores": 1,
                "limit": 0,
                "units": 1024
              }
            ],
            "description": "Valkey - shared in-memory data store\n",
            "device_passthrough": [],
            "disk": [
              {
                "acl": false,
                "datastore_id": "local-lvm",
                "mount_options": [],
                "path_in_datastore": "local-lvm:vm-230-disk-0",
                "quota": false,
                "replicate": false,
                "size": 4
              }
            ],
            "environment_variables": {},
            "features": [],
            "hook_script_file_id": "",
            "id": "230",
            "idmap": [],
            "initialization": [
              {
                "dns": [
                  {
                    "domain": "",
                    "server": "",
                    "servers": [
                      "1.1.1.1",
                      "8.8.8.8"
                    ]
                  }
                ],
                "entrypoint": "",
                "hostname": "valkey",
                "ip_config": [
                  {
                    "ipv4": [
                      {
                        "address": "192.168.1.230/24",
                        "gateway": "192.168.1.254"
                      }
                    ],
                    "ipv6": []
                  }
                ],
                "user_account": []
              }
            ],
            "ipv4": {
              "eth0": "192.168.1.230"
            },
            "ipv6": {
              "eth0": "fe80::be24:11ff:fe79:28d1"
            },
            "memory": [
              {
                "dedicated": 256,
                "swap": 0
              }
            ],
            "mount_point": [],
            "network_interface": [
              {
                "bridge": "vmbr0",
                "enabled": true,
                "firewall": true,
                "host_managed": false,
                "mac_address": "BC:24:11:79:28:D1",
                "mtu": 0,
                "name": "eth0",
                "rate_limit": 0,
                "vlan_id": 0
              }
            ],
            "node_name": "proxmox",
            "operating_system": [
              {
                "template_file_id": "",
                "type": "debian"
              }
            ],
            "pool_id": null,
            "protection": false,
            "start_on_boot": true,
            "started": true,
            "startup": [],
            "tags": [],
            "template": false,
            "timeout_clone": 1800,
            "timeout_create": 1800,
            "timeout_delete": 60,
            "timeout_start": 300,
            "timeout_update": 1800,
            "unprivileged": true,
            "vm_id": 230,
            "wait_for_ip": []
          },
          "sensitive_attributes": [],
          "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": 230,
            "dhcp": false,
            "enabled": true,
            "id": "options-1893114940",
            "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.valkey"
          ]
        }
      ]
    },
    {
      "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": 230,
            "id": "rule-1459375162",
            "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": "Valkey from authelia",
                "dest": "",
                "dport": "6379",
                "enabled": true,
                "iface": "",
                "log": "",
                "macro": "",
                "pos": 3,
                "proto": "tcp",
                "security_group": "",
                "source": "192.168.1.241",
                "sport": "",
                "type": "in"
              },
              {
                "action": "ACCEPT",
                "comment": "Valkey from penpot",
                "dest": "",
                "dport": "6379",
                "enabled": true,
                "iface": "",
                "log": "",
                "macro": "",
                "pos": 4,
                "proto": "tcp",
                "security_group": "",
                "source": "192.168.1.245",
                "sport": "",
                "type": "in"
              }
            ],
            "vm_id": null
          },
          "sensitive_attributes": [],
          "identity_schema_version": 0,
          "private": "bnVsbA==",
          "dependencies": [
            "proxmox_virtual_environment_container.valkey"
          ]
        }
      ]
    }
  ],
  "check_results": null
}
