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
context["RELEASES"] = all_releases
    readme = LICENCE
    readme_template_name = get_template_name(backport_packages, "README")
    readme += render_template(template_name=readme_template_name, context=context, extension='.md')
    classes_template_name = get_template_name(backport_packages, "CLASSES")
    readme += render_template(template_name=classes_template_name, context=context, extension='.md')
    for a_release in all_releases:
        readme += a_release.content
    readme_file_path = os.path.join(
        provider_package_path, "BACKPORT_PROVIDER_README.md" if backport_packages else "README.md"
    )
    old_text = ""
    if os.path.isfile(readme_file_path):
        with open(readme_file_path) as readme_file_read:
            old_text = readme_file_read.read()
    if old_text != readme:
        _, temp_file_path = tempfile.mkstemp(".md")
        try:
            if os.path.isfile(readme_file_path):
                copyfile(readme_file_path, temp_file_path)
            with open(readme_file_path, "wt") as readme_file:
                readme_file.write(readme)
            print()
            print(f"Generated {readme_file_path} file for the {provider_package_id} provider")
            print()
            if old_text != "":
                subprocess.call(["diff", "--color=always", temp_file_path, readme_file_path])
        finally:
            os.remove(temp_file_path)
def prepare_setup_py_file(context):