-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashing when assigning int instead of string to module variable #624
Comments
Thanks! Probably a bug in our configuration decoding! |
Reproduced. Working on this now. |
mitchellh
added a commit
that referenced
this issue
Dec 16, 2014
mitchellh
added a commit
that referenced
this issue
Dec 16, 2014
config: validate that module variables can go to ints, convert [GH-624]
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
locked and limited conversation to collaborators
May 4, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a simple module to set up an CoreOS cluster on DigitalOcean (see here).
I used the module as follows:
I ran the following commands:
The second command crashes with the message
panic: interface conversion: interface is int, not string
. After changingno_nodes = 3
tono_nodes = "3"
everything works fine.I was able to reproduce the crash with
v0.3.1
and the currentmaster
(crash.log formaster
below).crash.log:
The text was updated successfully, but these errors were encountered: