Terraform Data Sources | How to Use Data Sources? - Part 12

Published: 01 January 1970
on channel: Rahul Wagh
23,543
526

▬▬▬▬▬▬ ⭐️ Instruction guide ⭐️ ▬▬▬▬▬▬

How to use Terraform Data Sources - https://jhooq.com/terraform-data-sour...

GitHub Project - https://github.com/rahulwagh/Terrafor...

Terraform data sources can be used to fetch information back from the Cloud service provider (AWS, Google Cloud, Azure etc..). Along with your terraform provisioning script you need to write the terraform data source resource block for creating the data sources.

Terraform data sources can help you to fetch -

1. Internal IP
2. External IP
3. Instance ID
4. Tags

and much more other information associated with your terraform resource which can help automate your infrastructure code.

In this lab session, we are going to create a Terraform Data source to fetch the public IP of an EC2 instance. But similar terraform script can be written for other cloud resources such as S3 Bucket, IAM Rule, etc.


▬▬▬▬▬▬ ⭐️ 🕘Timestamps ⭐️ ▬▬▬▬▬▬
0:00 What is Terraform Data Source?
2:44 How to write Terraform Data Source block?
06:57 Demo of Terraform Data source along with AWS EC2


For more details on Terraform Data source click here -https://www.terraform.io/docs/languag...

To learn more on DevOps visit - https://jhooq.com/categories/terraform/


Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.

Video is copyrighted and can not be re-distributed on any platform.


On this page of the site you can watch the video online Terraform Data Sources | How to Use Data Sources? - Part 12 with a duration of hours minute second in good quality, which was uploaded by the user Rahul Wagh 01 January 1970, share the link with friends and acquaintances, this video has already been watched 23,543 times on youtube and it was liked by 526 viewers. Enjoy your viewing!