I'm getting error using the example from the docs: https://docs.amplify.aws/vue/build-a-backend/functions/configure-client-library/
"The data environment variables are malformed. env={..."
related bugfix: https://github.com/aws-amplify/amplify-backend/issues/2320
Using @aws-amplify/backend version ^1.16.1
Using aws-amplify version ^6.15.7
It does look like the getAmplifyDataClientConfig unable to find some env var like AMPLIFY_DATA_GRAPHQL_ENDPOINT?
Learn how to configure the aws-amplify client library in function handlers AWS Amplify Documentation