terraform/builtin
Mitchell Hashimoto 5fc516f99d
provisioners/chef: check IsComputed for JSON attributes
Fixes #10788

This checks `IsComputed` prior to attempting to use the JSON
configurations. Due to a change in 0.8, the prior check for simply map
existence would always succeed even with a computed value (as designed),
but we forgot to update provisioners to not do that.

There are other provisioners that also do this but to no ill effect
currently. I've only changed Chef since we know that is an issue.

This issue doesn't affect 0.9 due to helper/schema doing this
automatically for provisioners.
2017-01-29 12:30:44 -08:00
..
bins Ns1 provider (#10782) 2017-01-23 21:41:07 +00:00
providers fix wrong usage of hashicorp/errwrap (#11500) 2017-01-29 19:19:48 +00:00
provisioners provisioners/chef: check IsComputed for JSON attributes 2017-01-29 12:30:44 -08:00