1. A method for deploying an application, the method comprising: receiving a deployment plan comprising a nested object having a plurality of levels; for each level, retrieving a policy having a domain object that matches a current level of the nested object and determining a next level of the nested object until no next level exists; determining compliance of the deployment plan to the one or more retrieved policies; and executing, by a computer processor, the deployment plan to deploy the application in a cloud environment responsive to determining compliance.