Add an API to Heat for getting the schema for any available resource type.
QANAK'ing due to QE capacity
I can see the code is in rhos: grep resource_types /usr/lib/python2.6/site-packages/heat/api/openstack/v1/__init__.py stack_mapper.connect("resource_types", "/resource_types", action="list_resource_types", "/resource_types/{type_name}", "/resource_types/{type_name}/template", But there is no support for this feature in the client, so I didn't actually test it. :( I have made an upstream bug for it: https://bugs.launchpad.net/python-heatclient/+bug/1260130
https://review.openstack.org/#/c/61624/
I verified using an upstream heat client against rhos: $ heat resource-type-list +------------------------------------------+ | resource_type | +------------------------------------------+ | AWS::EC2::Instance | | OS::Nova::Server | | AWS::CloudFormation::Stack | ... $ heat resource-type-show AWS::EC2::VPC { "attributes": {}, "properties": { "CidrBlock": { "required": false, "type": "string" }, "Tags": { "required": false, "type": "list", "schema": { "*": { "required": false, "type": "map", "schema": { "Value": { "required": true, "type": "string" }, "Key": { "required": true, "type": "string" } } } } } }, "resource_type": "AWS::EC2::VPC" }
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html