Explicit Resource Dependencies
Understand how to define explicit resource dependencies in Terraform that are not automatically detected, such as dependencies across cloud platforms. Learn to use Terraform commands to plan and destroy resources safely while managing cleanup and environment variables.
We'll cover the following...
We'll cover the following...
Explicit dependency
We created a resource that Terraform knew was dependent on another (the VPC subnet) in implicit dependencies. It was dependent because the logic within the provider code knows that.
But what about dependencies that are not part of the structure of resources themselves but part of the logic of our application?
For example, we might have a dependency in our ...