@classmethod
    @log_deprecated_resource_type
    def transform(cls, clients, resource_config):
        resource_name = resource_config.get("name")
        if not resource_name:
            # NOTE(wtakase): gets resource name from OpenStack id
            novaclient = clients.nova()
            resource_name = _name_from_id(resource_config=resource_config,
                                          resources=novaclient.flavors.list(),
                                          typename="flavor")
        return resource_name
Transform the resource config to name.
dataset/ETHPy150Open openstack/rally/rally/task/types.py/EC2FlavorResourceType.transform