The amazon and google providers don't include necessary datafiles in them.

They were previously included in the sdist via MANIFEST.in (see https://github.com/apache/airflow/pull/12196) and in the bdist via include_package_data from the top level setup.py

Both of these are currently missing.

I've put this against 2.0.0-beta1, it _could_ be changed separately as providers are separate releases.
dev/provider_packages/prepare_provider_packages.py
:param backport_packages: whether to prepare regular (False) or backport (True) packages
    :return:
    """
    imported_classes = import_all_classes(
        provider_ids=provider_ids, print_imports=True, paths=[PROVIDERS_PATH], prefix="airflow.providers."
    )
    if len(imported_classes) == 0:
        raise Exception(
            "There is something seriously wrong with importing all classes as "
            "None of the classes were imported,"
        )
    make_sure_remote_apache_exists_and_fetch()
    if len(provider_ids) == 0:
        if backport_packages:
            provider_ids = get_all_backportable_providers()
        else:
            provider_ids = get_all_providers()
    total = 0
    bad = 0
    print()
    print("Generating README files and checking if entities are correctly named.")
    print()
    print("Providers to generate:")
    for provider_id in provider_ids:
        print(provider_id)
    print()
    for package in provider_ids:
        inc_total, inc_bad = update_generated_files_for_package(
            package,
            release_version,