def get_cloud_configs(heat):
    """Return list of resource_id whose type is OS::Heat::CloudConfig.
    """
    return [
        rid
        for rid, resource in heat.resources.items()
        if heat.nested_get(resource, "type") == "OS::Heat::CloudConfig"
    ]