mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
Update variables.md
This commit is contained in:
parent
ac747109e2
commit
6c57188149
@ -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
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user