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

  Рет қаралды 24,342

Rahul Wagh

Rahul Wagh

Күн бұрын

Пікірлер: 62
@asongatabong1791
@asongatabong1791 3 ай бұрын
Thanks Rahul Wagh for the explanation. Excellent video.
@pramodsakhare5469
@pramodsakhare5469 2 жыл бұрын
Rahul, the main purpose of terraform data source is to read the resources created outside of terraform (Not in the same .tfstate file). If we create the resource using the same terraform file then we can read them directly e.g. value=aws-instance.myinstance.public_ip No need to go for data source. Or your intent was to create the resource outside of the terraform but you reduced the efforts and created using the same script? Correct me if I am wrong.
@ashvinichavan154
@ashvinichavan154 6 ай бұрын
Agree
@venkatrajeshtalasila7919
@venkatrajeshtalasila7919 6 ай бұрын
You mean outside of current configuration , we mostly use data source when we want to refer to the resources in other infra repos ( as we maintain different repo for each resource)
@tarunsailguntupalli4883
@tarunsailguntupalli4883 2 жыл бұрын
Excellent Video, not sure why the views are less, Perfect teaching, now i understand clearly about the data source
@RahulWagh
@RahulWagh 2 жыл бұрын
Keep learning, more to come
@amolsurvase7507
@amolsurvase7507 2 ай бұрын
Simple , easy explanation like pro ... !!
@RahulWagh
@RahulWagh 2 ай бұрын
Glad it helped!
@devdomain1498
@devdomain1498 18 күн бұрын
Hello sir , appreciated your work Can you tell me if data-sources needed to output any value so what is the use of output variable or what is the difference between data-sources and output variable.? Thank you
@debashissinha8489
@debashissinha8489 5 ай бұрын
Excellent indeed as usual by Rahul !!
@V.k956
@V.k956 2 жыл бұрын
This Playlist is awesome. Eagerly waiting for more topics. If possible please share a few demos over GCP as well.
@RahulWagh
@RahulWagh 2 жыл бұрын
Will upload soon
@Googlepaynnn
@Googlepaynnn 2 жыл бұрын
Hi Sir, Thanks you for the video. I have small doubt for returning values we use data source but same this we can get through output also right? thank you
@rahulkumarshaw5266
@rahulkumarshaw5266 2 жыл бұрын
I had basic knowledge in terraform and always find difficulties to understand this to advance knowledge of terraform. You made it very simple .Good work keep it growing like this.
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad you liked it and enjoyed it
@Devopsyed
@Devopsyed 2 жыл бұрын
I am getting very much benefitted through your playlist. Examples are clear and very easy to understand.. would suggest to make a video of quick run up on certification questions, as there is fewer content on certifications aspect for Terraform. Thanks a lot :)
@RahulWagh
@RahulWagh 2 жыл бұрын
Noted. I will add to my checklist but to be honest the complete terraform playlist which i have prepared with the aim of sharing some practical knowledge and it will off course help you to get your terraform certification
@sivarasana3641
@sivarasana3641 Жыл бұрын
Great session Sir
@RahulWagh
@RahulWagh Жыл бұрын
You are welcome
@kushelg6286
@kushelg6286 2 жыл бұрын
Appreciate the playlist. Really helping me prepare for my interview
@RahulWagh
@RahulWagh 2 жыл бұрын
Greate good luck with your interview
@saikumar-jo3ts
@saikumar-jo3ts 2 жыл бұрын
Very useful session Rahul. Thanks
@RahulWagh
@RahulWagh 2 жыл бұрын
So nice of you
@naanireddy1
@naanireddy1 11 ай бұрын
I have an vpc and subnet and I have a public IP in aws. I want to create an instance in the existing VPC and existing subnet and ec2 instance have attach my public Ip i have in aws. Could you please help me on that using terraform.
@showripratury9202
@showripratury9202 Жыл бұрын
"myawsinstance" in the data section referring to which name? i mean already there a resource- EC2 instance created with the name "Ec2_example" in the previous section right? can you please clarify this point.
@karthik112
@karthik112 2 жыл бұрын
Question - How do you pass a parameter to aws lamda in terraform . Essentially I created aws managed active directory, I need to pass the directory_id as a parameter to aws lambda( created outside of terraform by some body) which creates aws log group and subscription. My question is how to pass the parameter to aws lambda using terraform with that parameter lambda executes
@forexmeter3900
@forexmeter3900 2 жыл бұрын
Very well explained!
@bikumillan697
@bikumillan697 2 жыл бұрын
Very Nicely explaned
@gurpreetgill9662
@gurpreetgill9662 2 жыл бұрын
Hi Rahul, Could you please help how to export data from one source to another using terraform with example( instead of AWS)? I am using commercetools with terraform in which import I run successfully.
@prasadrao4840
@prasadrao4840 2 жыл бұрын
Many thanks for great video , Simple and the Best
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad it helped
@nagamohan160
@nagamohan160 Жыл бұрын
Hi, how to increase ebs volume in terraform script?
@datainference9239
@datainference9239 2 жыл бұрын
can u please make a video on how we should handle keys in production environment
@RahulWagh
@RahulWagh 2 жыл бұрын
I am preparing a long lab session on hashi corp vault for handling the secrets
@ravindrachaure3019
@ravindrachaure3019 Жыл бұрын
Nice and concise !!
@RahulWagh
@RahulWagh Жыл бұрын
Glad you liked it!
@praveenbhogade
@praveenbhogade 2 жыл бұрын
Thanks @Rahul for this amazing video.
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad you liked
@byronliu6381
@byronliu6381 2 жыл бұрын
Hi Rahul, thanks for the sharing. I'm using data source to fetch the instance ids. When I create cloudwatch dashboard and wanna refer to each values of data.aws_instances.XX.ids, how can I write the code? I use ${data.aws_instances.XX.ids[0]}, ${data.aws_instances.XX.ids[1]} and there should be a better way I guess.
@sathishdarshanala6137
@sathishdarshanala6137 2 жыл бұрын
Hi rahul iam one of your subscriber learning terraform by watching your channel with that i have a question if we want to make changes in aws security group how can we do with terraform scripts? thanks in advance
@RahulWagh
@RahulWagh 2 жыл бұрын
Hi satish you can manage the aws security group but it is going to be a lot terraform script you need to write probably i could come up with some session. It would be really hard to explain everything in the comment section
@sathishdarshanala6137
@sathishdarshanala6137 2 жыл бұрын
@@RahulWagh no worries. Thanks for your quick response
@tirushv9681
@tirushv9681 2 жыл бұрын
Hey Why not use Output variables? than Data resource in this scenario
@nitmig373
@nitmig373 2 жыл бұрын
can anyone tell me how to output list of ec2 instances of type t2.micro using data sources and filters, running on my aws account
@myfaith1786
@myfaith1786 2 жыл бұрын
How to use these data resources with terraform conditionals to commit plan or abort it, I would like to see that demo as part of this vedio.
@Midhunchowdary
@Midhunchowdary Жыл бұрын
Could you please create a video on loops like count etc to create/refer multiple resources of same pattern .. Thanks very much for the videos
@thangamanikasi
@thangamanikasi 2 жыл бұрын
Thanks for this video. It would have been wowww if you have explained where/how it is used...
@RahulWagh
@RahulWagh 2 жыл бұрын
Thanks for suggestions but sometimes it is hard to put everything in one session
@jesusperez7545
@jesusperez7545 2 жыл бұрын
Hi! is it posible to filter data sources by labels instead of tags?
@RahulWagh
@RahulWagh 2 жыл бұрын
I haven’t tried but I guess it should be possible using labels
@madhunallagarla147
@madhunallagarla147 5 ай бұрын
Excellent explanation with clear instructions. Thank you so much, Rahul. By the way, has anyone ever told you that you resemble Sundar Pichai? To me, you look just like him. :)😄😃
@RahulWagh
@RahulWagh 5 ай бұрын
No i am not sundar pichai
@prudhviraj7888
@prudhviraj7888 2 жыл бұрын
Thank you so much ❤
@RahulWagh
@RahulWagh 2 жыл бұрын
You welcome bro
@vinodhkumar3777
@vinodhkumar3777 2 жыл бұрын
How to use s3 bucket data resource?
@sunildhakad833
@sunildhakad833 2 жыл бұрын
Really appreciate 🎉🎉
@RahulWagh
@RahulWagh 2 жыл бұрын
Cheers
@kirankumarkkk7661
@kirankumarkkk7661 Жыл бұрын
Ty.....sir
@abuhuraira1008
@abuhuraira1008 2 жыл бұрын
Is the playlist completed?
@RahulWagh
@RahulWagh 2 жыл бұрын
Not yet there is still more to come
@pp6622
@pp6622 2 жыл бұрын
y aws always ? y not azure
@happylearningtricks
@happylearningtricks Жыл бұрын
⭐⭐⭐⭐⭐
How to create terraform modules? - Part 9
18:11
Rahul Wagh
Рет қаралды 62 М.
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 36 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 16 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,8 МЛН
Terraform Basics: Data Source Blocks
9:22
Ned in the Cloud
Рет қаралды 2,2 М.
Data Sources | Terraform Tutorial | #10
14:21
Will Brock
Рет қаралды 52 М.
What is Terraform null_resource and how to use it? - Part-21
19:10
My Honest Advice to Beginner ML Students for 2025
12:37
Boris Meinardus
Рет қаралды 4,6 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
Use Existing Resources with Data Sources in Terraform and Azure
9:11
Travis Roberts
Рет қаралды 13 М.