serverless / serverless-google-cloudfunctions

Serverless Google Cloud Functions Plugin – Adds Google Cloud Functions support to the Serverless Framework
https://www.serverless.com
MIT License
271 stars 126 forks source link

Error: Deployment failed: CONDITION_NOT_MET #268

Open glyphgitjembo opened 3 years ago

glyphgitjembo commented 3 years ago

I have an environment variable value with leading zeroes ex: 0000123456789 When I try to deploy with value in quotes I get this Error: Deployment failed: CONDITION_NOT_MET error: instance type (number) does not match any allowed primitive type (allowed: ["string"])

If I set it without quotes, it will deploy but on GCP the value is now stripped of its leading zeroes ex: 123456789

How do I send this as a string and with my leading zeroes intact?