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

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024
  • НаукаНаука

Комментарии •

  • @tarunsailguntupalli4883
    @tarunsailguntupalli4883 2 года назад +2

    Excellent Video, not sure why the views are less, Perfect teaching, now i understand clearly about the data source

    • @RahulWagh
      @RahulWagh  2 года назад +1

      Keep learning, more to come

  • @pramodsakhare5469
    @pramodsakhare5469 2 года назад +14

    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)

  • @asongatabong1791
    @asongatabong1791 3 месяца назад

    Thanks Rahul Wagh for the explanation. Excellent video.

  • @V.k956
    @V.k956 2 года назад +2

    This Playlist is awesome. Eagerly waiting for more topics. If possible please share a few demos over GCP as well.

  • @Devopsyed
    @Devopsyed 2 года назад +1

    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

  • @amolsurvase7507
    @amolsurvase7507 2 месяца назад

    Simple , easy explanation like pro ... !!

  • @debashissinha8489
    @debashissinha8489 6 месяцев назад

    Excellent indeed as usual by Rahul !!

  • @devdomain1498
    @devdomain1498 29 дней назад

    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

  • @kushelg6286
    @kushelg6286 2 года назад

    Appreciate the playlist. Really helping me prepare for my interview

    • @RahulWagh
      @RahulWagh  2 года назад

      Greate good luck with your interview

  • @rahulkumarshaw5266
    @rahulkumarshaw5266 2 года назад +1

    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 года назад +1

      Glad you liked it and enjoyed it

  • @Googlepaynnn
    @Googlepaynnn 2 года назад +1

    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

  • @sivarasana3641
    @sivarasana3641 Год назад +1

    Great session Sir

  • @saikumar-jo3ts
    @saikumar-jo3ts 2 года назад

    Very useful session Rahul. Thanks

  • @datainference9239
    @datainference9239 2 года назад +1

    can u please make a video on how we should handle keys in production environment

    • @RahulWagh
      @RahulWagh  2 года назад +1

      I am preparing a long lab session on hashi corp vault for handling the secrets

  • @prasadrao4840
    @prasadrao4840 2 года назад

    Many thanks for great video , Simple and the Best

  • @tirushv9681
    @tirushv9681 2 года назад

    Hey Why not use Output variables? than Data resource in this scenario

  • @forexmeter3900
    @forexmeter3900 2 года назад

    Very well explained!

  • @madhunallagarla147
    @madhunallagarla147 6 месяцев назад

    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  6 месяцев назад

      No i am not sundar pichai

  • @praveenbhogade
    @praveenbhogade 2 года назад

    Thanks @Rahul for this amazing video.

  • @bikumillan697
    @bikumillan697 2 года назад

    Very Nicely explaned

  • @ravindrachaure3019
    @ravindrachaure3019 Год назад

    Nice and concise !!

  • @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.

  • @sathishdarshanala6137
    @sathishdarshanala6137 2 года назад +1

    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

  • @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

  • @pp6622
    @pp6622 2 года назад +1

    y aws always ? y not azure

  • @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

  • @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.

  • @nagamohan160
    @nagamohan160 Год назад

    Hi, how to increase ebs volume in terraform script?

  • @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

  • @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.

  • @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.

  • @sunildhakad833
    @sunildhakad833 2 года назад

    Really appreciate 🎉🎉

  • @prudhviraj7888
    @prudhviraj7888 2 года назад

    Thank you so much ❤

  • @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.

  • @kirankumarkkk7661
    @kirankumarkkk7661 Год назад

    Ty.....sir

  • @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

  • @vinodhkumar3777
    @vinodhkumar3777 2 года назад

    How to use s3 bucket data resource?

  • @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

  • @abuhuraira1008
    @abuhuraira1008 2 года назад

    Is the playlist completed?

    • @RahulWagh
      @RahulWagh  2 года назад +1

      Not yet there is still more to come

  • @happylearningtricks
    @happylearningtricks Год назад

    ⭐⭐⭐⭐⭐