terraform/builtin/providers
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
..
terraform providers/terraform: Explicit validate step 2019-05-04 21:06:31 -07:00
test validate integers when using protoV5 2019-05-11 09:34:28 -04:00
README remove builtin providers 2017-06-12 13:42:06 -04:00

README

providers moved to github.com/terraform-providers