Looks like local.mgmt_private_ip_primary is never actually used in main.tf Because of this setting a private_ip_primary is never set.