terraform/config
Mitchell Hashimoto b6bfc4798d
config: Resource.Count should type check
Fixes #11800

Type check the value of count so we don't panic on the conversion.

I wondered "why didn't we do this before?" There is no excuse for NOT
doing it at all but the reasoning was beacuse prior to the list/map work
in 0.7, the value couldn't be anything other than a string since any
primitive can turn into a string.

Regardless, we should've always done this.
2017-02-10 10:41:41 -08:00
..
module config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
test-fixtures config: Resource.Count should type check 2017-02-10 10:41:41 -08:00
append.go config: Append supports `terraform` 2016-12-13 21:53:02 -08:00
append_test.go config: Append supports `terraform` 2016-12-13 21:53:02 -08:00
config.go config: Resource.Count should type check 2017-02-10 10:41:41 -08:00
config_string.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
config_terraform.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
config_terraform_test.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
config_test.go config: Resource.Count should type check 2017-02-10 10:41:41 -08:00
config_tree.go
import_tree.go
interpolate.go
interpolate_funcs.go core: Add pathexpand interpolation function 2017-01-18 16:11:19 -05:00
interpolate_funcs_test.go core: Add pathexpand interpolation function 2017-01-18 16:11:19 -05:00
interpolate_test.go
interpolate_walk.go
interpolate_walk_test.go
lang.go
loader.go
loader_hcl.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
loader_hcl_test.go
loader_test.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
merge.go config: Merge respects Terraform blocks, provider aliases, and more 2016-12-13 21:48:59 -08:00
merge_test.go config: Merge respects Terraform blocks, provider aliases, and more 2016-12-13 21:48:59 -08:00
provisioner_enums.go config: parse "when" and "on_failure" on provisioners 2017-01-19 18:10:21 -08:00
raw_config.go config: Merge respects Terraform blocks, provider aliases, and more 2016-12-13 21:48:59 -08:00
raw_config_test.go
resource_mode.go
resource_mode_string.go
testing.go