Generate cloud config from template. #46