Refactored cloud resource into included module.