Cant backup because of version mismatch on aws

We were in the same boat: deployed on GCP-managed Postgres 11 because the docs called for Postgres 10+.

We just ended up adding a custom command to our bootstrap to install the PG 11 client tools and swap pg_dump to use that version by default.

  - exec:
      cmd:
        - apt-get update && apt-get install postgresql-client-11 && update-alternatives --install /usr/bin/pg_dump pg_dump /usr/lib/postgresql/11/bin/pg_dump 1