Deployment of cloud applications relies upon the inter-dependencies between software components. Modeling languages like UML can be employed to handle the complexities of deploying cloud applications. UML devotes a special model called deployment diagram to represent the physical view of deployment. A recurring issue in deployment is not considering the dependency between artifacts based on the dependencies indicated in the corresponding UML component diagram. In this paper we present a method for enforcing component dependencies in a UML deployment diagram. Models and metamodels are represented using directed graphs and dependency enforcement is performed using graph transformation. The proposed method has been implemented upon VIATRA2 model transformation framework which illustrates the feasibility of the method.