Ravi Sir's Cards › Chapter 33: Terraform Providers Resources Variables Outputs Locals and Data Sources
How does Terraform know in which order to create resources?
How does Terraform know in which order to create resources? Terraform builds a dependency graph from references. If a subnet uses aws_vpc.main.id, Terraform creates the VPC first. Resources with no link are created in parallel.

Lesson: 33.2 Resources — the things Terraform creates · मराठी card