Netplan: Invalid YAML: aliases are not supported - pointing out the end of the last line

I'm on a 22.04.5 LTS. Since eth is not detected and the wireless wl is, I'm trying to connect to the wireless so I can install the proper NIC driver. The problem is that I get "YAML: aliases are not supported". It initially pointed out at the last line which was blank and when I removed the blank line I get the same error pointing out at the last character of the last line (and there is no space…