serverless-google-cloudfunctions icon indicating copy to clipboard operation
serverless-google-cloudfunctions copied to clipboard

Error: Deployment failed: CONDITION_NOT_MET

Open glyphgitjembo opened this issue 4 years ago • 0 comments

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?

glyphgitjembo avatar Jul 21 '21 09:07 glyphgitjembo