hacky fix for passing region as url, it should have nested config in reality