mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Update variables.md
This commit is contained in:
parent
c1b1620d4e
commit
5441efb799
@ -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
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user