Licenses are configured using the slurm/Licenses configuration variable. If you are using the Slurm database then these will be configured in the database. Otherwises they will be configured in /opt/slurm/{{ClusterName}}/etc/slurm_licenses.conf.
They are not in the slurm_licenses.conf file. They are located in
On the page https://aws-samples.github.io/aws-eda-slurm-cluster/deployment-prerequisites/ in the Configure Licenses section it mentions that the licenses can ultimately be found in:
Licenses are configured using the slurm/Licenses configuration variable. If you are using the Slurm database then these will be configured in the database. Otherwises they will be configured in /opt/slurm/{{ClusterName}}/etc/slurm_licenses.conf.
They are not in the slurm_licenses.conf file. They are located in
/opt/slurm/{{ClusterName}}/etc/pcluster/custom_slurm_settings_include_file_slurm.conf