async def METHOD_NAME(
    repo_dir: str,
    extra_salt: str = "",
) -> AwsIdentityCenterPermissionSetTemplate:
    permission_sets = await gather_templates(
        repo_dir, AWS_IDENTITY_CENTER_PERMISSION_SET_TEMPLATE_TYPE
    )
    permission_set_dir = get_template_dir(repo_dir)
    permission_set_template = AwsIdentityCenterPermissionSetTemplate.load(
        random.choice(permission_sets)
    )
    log.info(
        "Using permission set as base",
        permission_set=permission_set_template.identifier,
    )
    permission_set_template.identifier = (
        f"iambic_test_{extra_salt}{random.randint(0, 10000)}"
    )
    permission_set_template.file_path = (
        f"{permission_set_dir}/{permission_set_template.identifier}.yaml"
    )
    permission_set_template.properties.name = permission_set_template.identifier
    permission_set_template.properties.description = (
        "This was created by a functional test."
    )
    permission_set_template.write(exclude_unset=False)
    return permission_set_template