diff --git a/deployment/cephadm/ceph-rgw.yaml b/deployment/cephadm/ceph-rgw.yaml
index 0a6e9893cc..08fd86af34 100644
--- a/deployment/cephadm/ceph-rgw.yaml
+++ b/deployment/cephadm/ceph-rgw.yaml
@@ -83,7 +83,11 @@ resources:
             list_join:
               - ','
               - get_param: [ServiceData, net_cidr_map, {get_param: [ServiceNetMap, CephRgwNetwork]}]
-          radosgw_frontend_port: {get_param: [EndpointMap, CephRgwInternal, port]}
+          radosgw_frontend_port:
+            yaql:
+              data: {get_param: [EndpointMap, CephRgwInternal]}
+              expression: int($.data.port)
+
 
   CephRgwConfigOverrides:
     type: OS::Heat::Value