What is data source in Terraform

0 votes

Hi Guys,

I am new to Terraform. I want to know about data sources in Terraform. Can anyone tell me what is Data Source in Terraform?

Jul 23, 2020 in Terraform by akhtar
• 38,170 points
409 views

1 answer to this question.

0 votes

Hi@akhtar,

Data sources allow data to be fetched or computed for use elsewhere in Terraform configuration. The use of data sources allows a Terraform configuration to make use of information defined outside of Terraform, or defined by another separate Terraform configuration.

answered Jul 23, 2020 by MD
• 95,040 points

Related Questions In Terraform

0 votes
1 answer

What is the null resource in Terraform?

Hi@akhtar, The null_resource resource implements the standard resource ...READ MORE

answered Sep 29, 2020 in Terraform by MD
• 95,040 points
884 views
0 votes
2 answers

What is Terraform?

Terraform is a provisioning tool that seems ...READ MORE

answered Aug 28, 2020 in Terraform by nbavis
• 380 points
248 views
0 votes
1 answer

What is a Terraform provider?

Hi@akhtar, Terraform is agnostic to the underlying cloud ...READ MORE

answered Jul 23, 2020 in Terraform by MD
• 95,040 points
134 views
0 votes
1 answer

How to read data from a file in Terraform?

Hi@akhtar, You can use the file function in Terraform. This file function ...READ MORE

answered Jul 27, 2020 in Terraform by MD
• 95,040 points
1,010 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

What is the remote-exec provisioner in Terraform?

Hi@akhtar, You can use a remote-exec provisioner to ...READ MORE

answered Jul 23, 2020 in Terraform by MD
• 95,040 points
1,432 views
+2 votes
1 answer

What is the difference between modules and workspaces in Terraform?

Hi@akhtar, I think a key difference between Terraform ...READ MORE

answered Aug 16, 2020 in Terraform by MD
• 95,040 points
324 views