Updated variable boolean casting documentation

This commit is contained in:
Miguel A. Calles, MBA 2019-10-21 16:30:02 -07:00 committed by GitHub
parent d1a032c635
commit 34bf4e5955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,9 @@ You can define your own variable syntax (regex) if it conflicts with CloudFormat
- [CloudFormation stack outputs](#reference-cloudformation-outputs)
- [Properties exported from Javascript files (sync or async)](#reference-variables-in-javascript-files)
- [Pseudo Parameters Reference](#pseudo-parameters-reference)
- [Casting String Variable Values to Boolean](#casting-string-variables-values-to-boolean)
## Casting string variables to boolean values
## Recursively reference properties
@ -658,7 +661,7 @@ Resources:
- 'log-group:/aws/lambda/*:*:*'
```
## Casting string variables to boolean values
## Casting string variables values to boolean
In some cases, a parameter expect a `true` or `false` value. If you are using a variable to define the value, it may return as a string (e.g. when using SSM variables) and thus return a `"true"` or `"false"` value.