Update variables.md

This commit is contained in:
Miguel A. Calles, MBA 2019-10-25 08:20:50 -07:00 committed by GitHub
parent c1b1620d4e
commit 5441efb799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,3 +672,14 @@ provider:
tracing:
apiGateway: ${strToBool(${ssm:API_GW_DEBUG_ENABLED})}
```
Note: These are examples of how the conversion works.
```plaintext
${strToBool(true)} => true
${strToBool(false)} => false
${strToBool(null)} => true
${strToBool( )} => true
${strToBool(anything)} => true
${strToBool()} => ServerlessError
```