Data Sources | Terraform Tutorial | #10

Published: 24 June 2020
on channel: Will Brock
52,401
813

Data Sources allow you to fetch data from existing resources from your infrastructure. You can think of Data Sources like making an API call to your cloud provider and returning the data. There are many ways this can be helpful but one of which might be if you have an existing VPC defined in AWS that you want to use for all your development infrastructure.

In this video I'll go over using data sources to retrieve data in a few different ways.

Fetch data from an existing resources
Fetch data that matches tag values
Fetch most recent ami image that was created
Output data that we fetched

Course Examples:
https://github.com/WillBrock/terrafor...

Data Sources:
https://www.terraform.io/docs/configu...

AWS EC2 describe images:
https://docs.aws.amazon.com/cli/lates...

AWS AMI data:
https://www.terraform.io/docs/provide...


Watch video Data Sources | Terraform Tutorial | #10 online without registration, duration hours minute second in high quality. This video was added by user Will Brock 24 June 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 52,401 once and liked it 813 people.