dependsOn

The dependsOn resource option creates a list of explicit dependencies between resources.

Pulumi automatically tracks dependencies between resources when you supply an input argument that came from another resource's output properties. In some cases, however, you may need to explicitly specify additional dependencies that Pulumi doesn't know about but must still respect. This might happen if a dependency is external to the infrastructure itself, such as an application dependency—or is implied due to an ordering or eventual consistency requirement. The dependsOn option ensures that resource creation, update, and deletion operations are done in the correct order.