You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an output like TF_VAR_test_suites=true is provided, it is considered like a boolean type in RMK, leading to a panic.
This should be handled correctly, the boolean type should be allowed, in other cases a warning should be shown.
Steps to reproduce
Run any command with a boolean TF variable, e.g.: TF_VAR_test_suites=true rmk cluster p -p
Expected behaviour
The boolean value like true/false is considered as a string and handled without any error.
Description
Currently, RMK only supports Terraform outputs of a string type, when an output is prefixed with
rmk_
.https://github.com/edenlabllc/rmk/blob/develop/docs/configuration/cluster-management/exported-environment-variables.md#exported-envi[…]ent-variables
If an output like
TF_VAR_test_suites=true
is provided, it is considered like a boolean type in RMK, leading to a panic.This should be handled correctly, the boolean type should be allowed, in other cases a warning should be shown.
Steps to reproduce
Run any command with a boolean TF variable, e.g.:
TF_VAR_test_suites=true rmk cluster p -p
Expected behaviour
The boolean value like true/false is considered as a string and handled without any error.
Actual behaviour
The following panic occurs:
Environment info
RMK: v0.41.0+
OS: any
Shell: any
Terminal: any
Agree to the Code of Conduct
The text was updated successfully, but these errors were encountered: