Unable to deploy to Apollo Engine because of "Unable to find APOLLO_KEY" error
May 17, 2020 at 5:03pmUnable to deploy to Apollo Engine because of "Unable to find APOLLO_KEY" error
May 17, 2020 at 5:03pmHi everyone!
I just upgraded the apollo CLI to 2.27.4. When I try to deploy one of my services to Apollo Engine, I keep hitting a "Unable to find APOLLO_KEY" error.
I am on OSX and running the command in a folder where at the root I have both a .env file and a apollo.config.js file.
The apollo.config.js file looks like this:
module.exports = {service: {name: "APP_NAME",},};
And the .env file looks like this:
APOLLO_KEY=user:XXXX
Prior to the upgrade, everything had been running fine.