تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Resource Exports & Dependencies Terraform Tutorial #5 ضمن كورس Terraform شرح قناة Will Brock، الفديو رقم 6 مجانى معتمد اونلاين
Each resource in Terraform exports data and information about the resource. This data can then be used as input into other resources. When data from one resource is used for another then it becomes a dependency. Thankfully Terraform automatically figures out any dependencies allowing users not to have to worry about it much.
In this video we'll create a few resources using the values of one resource as the input into other resources. Below are a few things that we'll cover.
- Create an AWS VPC, Subnet and Instance
- Use the exported attributes from one resource into another creating a dependency
Code Examples:
https://github.com/WillBrock/terraform-course-examples
AWS VPC:
https://www.terraform.io/docs/providers/aws/r/vpc.html
AWS Subnet:
- https://www.terraform.io/docs/providers/aws/r/subnet.html
AWS Instance:
https://www.terraform.io/docs/providers/aws/r/instance.html