1. A method for managing resources in a cluster, comprising: creating a proxy resource, wherein the proxy resource is associated with an external resource, wherein the proxy resource is configured to communicate with the external resource, wherein the external resource is located in an external cluster, wherein the external cluster executes on a hardware platform; making a determination that a resource in the cluster is dependent on the external resource, wherein the cluster executes a cluster framework and wherein the proxy resource is located in the cluster; based on the determination, creating a first dependency between the resource and the proxy resource and creating a second dependency between the proxy resource and the external resource; starting, by the cluster framework, the proxy resource; configuring in response to the starting of the proxy resource, by the cluster framework, a state of the proxy resource to indicate that the proxy resource is in an online-standby state and a state of the external resource to indicate that the external resource is not enabled; determining an ordering to enable a set of resources including the resource and the external resource, wherein the ordering is based on dependencies of the set of resources and interleaves resources controlled by the cluster framework and the external resource; enabling the set of resources by enforcing at least the first dependency; receiving, by the proxy resource, information indicating that the external resource is enabled; reconfiguring, in response to receiving information that the external resource is enabled, the state of the proxy resource to indicate that the proxy resource is online; invoking, in response to receiving the information, a cluster command to reconfigure the state for the external resource to indicate that the external resource is enabled; reconfiguring, in response to the cluster command, the state of the external resource to indicate that the external resource is enabled; and starting, by the cluster framework, the resource in response to the determination that the state of the proxy resource indicates that the proxy resource is online and based on the first dependency and the second dependency, wherein the resource is configured to execute an instruction after the resource is started.