Update variables.md

This commit is contained in:
Miguel A. Calles, MBA 2019-10-31 15:38:45 -07:00 committed by GitHub
parent ac747109e2
commit 6c57188149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -673,13 +673,14 @@ provider:
apiGateway: ${strToBool(${ssm:API_GW_DEBUG_ENABLED})}
```
Note: These are examples of how the conversion works.
These are examples that explain how the conversion works:
```plaintext
${strToBool(true)} => true
${strToBool(false)} => false
${strToBool(0)} => false
${strToBool(1)} => true
${strToBool(2)} => Error
${strToBool(null)} => Error
${strToBool(anything)} => Error
```