terraform/builtin
James Bardin 6bc36d3321 validate integers when using protoV5
The new type system only has a Number type, but helper schema
differentiates between Int and Float values. Verify that a new config
value is an integer during Validate, because the existing WeakDecode
validation will decode a float value into an integer while the config
FieldReader will attempt to parse the float exactly.

Since we're limiting this to protoV5, we can be certain that any valid
config value will be converted to an `int` type by the shims. The only
case where an integral float value will appear is if the integer is out
of range for the systems `int` type, but we also need to prevent that
anyway since it would fail to read in the same manner.
2019-05-11 09:34:28 -04:00
..
bins Initial implementation of a habitat provisioner 2017-12-07 16:29:30 -08:00
providers validate integers when using protoV5 2019-05-11 09:34:28 -04:00
provisioners fix(salt-masterless): Compare retrieved variable values with defaults 2019-02-14 18:13:16 -08:00