Data Sources in Detail

This lesson will teach you about Terraform data and how it is to used.

Terraform data source

A data source in Terraform is used to fetch data from a resource that is not managed by the current Terraform project. This allows it to be used in the current project. You can think of it as a read-only resource that already exists; the object exists, but you want to read specific properties of that object for use in your project.

Get hands-on with 1200+ tech skills courses.