Policy-based deployment in a hybrid and multicloud environment