This is probably a historical mistake, but we can't just change the API as it may break existing users.
I'd suggest we add this to the wishlist for the v2 API:
https://wiki.openstack.org/wiki/Heat/Blueprints/V2API
https://blueprints.launchpad.net/heat/+spec/v2api
And for now, those consuming the values can use oslo bool_from_string function which should work correctly with either format:
https://github.com/openstack/oslo-incubator/blob/master/openstack/common/strutils.py#L100
This is probably a historical mistake, but we can't just change the API as it may break existing users.
I'd suggest we add this to the wishlist for the v2 API:
https:/ /wiki.openstack .org/wiki/ Heat/Blueprints /V2API
https:/ /blueprints. launchpad. net/heat/ +spec/v2api
And for now, those consuming the values can use oslo bool_from_string function which should work correctly with either format:
https:/ /github. com/openstack/ oslo-incubator/ blob/master/ openstack/ common/ strutils. py#L100