Iterate over environments.