This is my face when Canonical/Ubuntu apparently can't keep their YAML indentation levels consistent for /etc/netplan/*.yaml between Ubuntu (installer) versions, possibly even within the same LTS release. You had one job, YAML, and you're falling down on it.
(Some versions seem to use four-space indents, some two-space indents, YAML shrugs its shoulders and doesn't care.)