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
"""
    Make sure that apache remote exist in git. We need to take a log from the master of apache
    repository - not locally - because when we commit this change and run it, our log will include the
    current commit - which is going to have different commit id once we merge. So it is a bit
    catch-22.
    :return:
    """
    try:
        subprocess.check_call(
            ["git", "remote", "add", "apache-https-for-providers", "https://github.com/apache/airflow.git"],
            stdout=subprocess.DEVNULL,
            stderr=subprocess.DEVNULL,
        )
    except subprocess.CalledProcessError as e:
        if e.returncode == 128:
            print(
                "The remote `apache-https-for-providers` already exists. If you have trouble running "
                "git log delete the remote",
                file=sys.stderr,
            )
        else:
            raise
    subprocess.check_call(
        ["git", "fetch", "apache-https-for-providers"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL
    )
def get_git_command(base_commit: Optional[str]) -> List[str]: