An error is raised with an obscure parameter reference.
Add-ConIf: The ValueToImport parameter only accepts the following types: Vaporshell.Condition.If, Vaporshell.Function.Base64, Vaporshell.Function.FindInMap, Vaporshell.Function.GetAtt, Vaporshell.Function.GetAZs, Vaporshell.Function.Join, Vaporshell.Function.Select, Vaporshell.Function.Ref, System.String. The current types of the value are: System.Boolean, System.ValueType, System.Object.
Description
Add-ConIf -ConditionName IsActiveRegion -ValueIfTrue $true -ValueIfFalse $false
Steps to reproduce
Expected result
A template should be generated like:
Actual result
An error is raised with an obscure parameter reference.