This function doesn't really do anything and makes the code harder to read
flavor is inside resource_metadata