Shane R. Spencer 612f668c93
feat(Variables): Accept case-insensitive strings in strToBool (#9770)
* Lowercase stringValue to allow for wider range of inputs.

This change simply adds toLowerCase() when assigning stringValue to allow enable a case-insensitive input (True, TRUE, False, False)

* Update variables.md

Added documentation showing lowercase change to strToBool

* Update str-to-bool.test.js

Added uppercase/mixedcase test

* Update str-to-bool.test.js

fixed test description for str-to-bool case checks

* fix linting/prettier issues with strToBool test/func patch
2021-07-27 13:53:58 +02:00
..
2021-01-04 16:21:24 +01:00
2020-11-20 13:43:04 +01:00
2019-11-12 20:37:13 +01:00

Read this on the main serverless docs site

Serverless Infrastructure Providers

Under the hood, the Serverless Framework is deploying your code to a cloud provider like AWS, Microsoft Azure, Google Cloud Platform, Apache OpenWhisk, Cloudflare Workers, or a Kubernetes-based solution like Kubeless. Click on your provider for detailed Serverless Framework CLI user guides and references.



Connecting your provider

To deploy functions, specify your provider in your service's serverless.yml file under the provider key and make sure your provider credentials are setup on your machine or CI/CD system.

# serverless.yml
service: my-service-name

provider:
  name: aws