arcgis-server-linux template provides an option to federate ArcGIS Server with Portal for ArcGIS. So far the federation is only supported for ArcGIS Enterprise on Windows and Linux. It's not supported on ArcGIS Enterprise on K8s because federation API is different in K8s Enterprise Admin (see https://developers.arcgis.com/rest/enterprise-administration/enterprise/federation/).
To federate the server with ArcGIS Enterprise on Kubernetes organization, set "portal_org_id" property in application.tfvars.json to "0123456789ABCDEF" (the default organization Id).
arcgis-server-linux template provides an option to federate ArcGIS Server with Portal for ArcGIS. So far the federation is only supported for ArcGIS Enterprise on Windows and Linux. It's not supported on ArcGIS Enterprise on K8s because federation API is different in K8s Enterprise Admin (see https://developers.arcgis.com/rest/enterprise-administration/enterprise/federation/).