serverless / serverless-google-cloudfunctions

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

allow dashes in label keys #295

Open networkandcode opened 1 year ago

networkandcode commented 1 year ago

sls deploy was throwing a configuration error when dashes are used in keys.

$ serverless deploy
Running "serverless" from node_modules

Warning: Invalid configuration encountered
  at 'provider.labels': unrecognized property 'created-by'

Learn more about configuration validation here: http://slss.io/configuration-validation

I think dashes can be included according to the google documentation. https://cloud.google.com/deployment-manager/docs/creating-managing-labels