From 5441efb7992cfbf86803e684b6b815476ffa00da Mon Sep 17 00:00:00 2001 From: "Miguel A. Calles, MBA" <44813512+miguel-a-calles-mba@users.noreply.github.com> Date: Fri, 25 Oct 2019 08:20:50 -0700 Subject: [PATCH] Update variables.md --- docs/providers/aws/guide/variables.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/providers/aws/guide/variables.md b/docs/providers/aws/guide/variables.md index 67be419c3..8d540dabd 100644 --- a/docs/providers/aws/guide/variables.md +++ b/docs/providers/aws/guide/variables.md @@ -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 +```