Resource Exports & Dependencies | Terraform Tutorial | #5

Опубликовано: 17 Июнь 2020
на канале: Will Brock
22,642
303

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/terrafor...

AWS VPC:
https://www.terraform.io/docs/provide...

AWS Subnet:
https://www.terraform.io/docs/provide...

AWS Instance:
https://www.terraform.io/docs/provide...


Смотрите видео Resource Exports & Dependencies | Terraform Tutorial | #5 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Will Brock 17 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 22,642 раз и оно понравилось 303 людям.