def get_real_platform(single_platform: str) -> str:
    """
    Replace different platform variants of the platform provided platforms with the two canonical ones we
    are using: amd64 and arm64.
    """
    return single_platform.replace("x86_64", "amd64").replace("aarch64", "arm64").replace("/", "-")