1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
In Terraform, most resource dependencies are handled automatically. It analyses expressions within a resource block to find references to other objects, and treats those references as implicit ordering requirements when creating, updating, or destroying resources.
However, there are some resources that have hidden dependencies and must be explicitly defined by using depends_on.
More information from this document: https://www.terraform.io/language/resources/behavior#resource-dependencies
I've seen a few IaC documentations that mention if you need to explicitly define the dependency but sometimes it doesn't. One way to find out is to test your configuration.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 10 jours
- demandé il y a 4 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 8 mois