Terraform Basics: Output Values

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 18

  • @komalthecoolk
    @komalthecoolk 2 ปีที่แล้ว

    What's the vscode plugin that is showing the "reference' to the code blocks?

  • @aiautoglasscrm
    @aiautoglasscrm ปีที่แล้ว

    New to Terraform land, I research a way to convert json to hcl. Terraform command provides --json flag to ocnvert hcl to json. Trying to use jq, first need to learn how to convert json back to hcl. Any help or suggestions are welcome

  • @rajeshantony74
    @rajeshantony74 10 หลายเดือนก่อน

    Great video Ned!!

  • @nursultanbegmatov6227
    @nursultanbegmatov6227 3 ปีที่แล้ว +1

    as always very clear and useful

  • @danielrobertson3302
    @danielrobertson3302 3 ปีที่แล้ว +1

    Great content as always Ned, appreciate the in depth approach. Working my way through your Exam prep guide as we speak so it's useful to have these type of videos to expand on some of the concepts.

    • @gvoden
      @gvoden 3 ปีที่แล้ว +1

      Agreed, I watched a lot of Terraform Tuesdays and also used Ned's exam guide in order to pass the exam (just wrote it last week, it's a lot easier than I expected, I was done in 30 minutes).

    • @NedintheCloud
      @NedintheCloud  3 ปีที่แล้ว

      Best of luck!

    • @NedintheCloud
      @NedintheCloud  3 ปีที่แล้ว +1

      Awesome! Congrats on passing! I didn't think the exam was that tough either, but I also work with Terraform a lot. For the complete novice, I think it presents enough of a challenge.

    • @gvoden
      @gvoden 3 ปีที่แล้ว

      @@NedintheCloud agreed! I'm making the switch from CloudFormation so it's not too bad. What are your thoughts on the Vault and Consul certs in terms of difficulty and value?

    • @NedintheCloud
      @NedintheCloud  3 ปีที่แล้ว

      The Vault cert wasn't too hard for me, since I have been pretty immersed in the tech. Not sure on its value just yet. I haven't attempted the Consul cert since I don't really use the software. I'd recommend checking out Bryan Krausen's prep stuff for Consul.
      If I had to guess, I think the HashiCorp certs will become more important with time and especially once they introduce the next tier of certs that are practical-based.

  • @Riyaz8980.
    @Riyaz8980. 2 ปีที่แล้ว

    Thank you brother for terraform serious

  • @manavid86
    @manavid86 2 ปีที่แล้ว

    can we use terraform output values as tags

  • @p.a8750
    @p.a8750 3 ปีที่แล้ว

    Hey Ned. Great video as always. Quick question, how do we output values from a resource that uses a for each please? And likewise, if wanting to reference an output from a resource using for each, how is that achieved? Thanks

    • @NedintheCloud
      @NedintheCloud  3 ปีที่แล้ว +2

      If you've created a resource with for_each, the resource address now refers for a list of resources. For instance if I had a block like this:
      resource "aws_subnet" "subnets" {
      for_each = {}
      }
      It would create a set of aws_subnets. I could refer to an attribute of the subnets using the syntax:
      aws_subnet.subnets.*.
      That would return a list of the attributes for each subnet. You could also loop through the subnets with a for loop.

    • @p.a8750
      @p.a8750 3 ปีที่แล้ว

      @@NedintheCloud thank you!

    • @luismendezescobar9049
      @luismendezescobar9049 3 ปีที่แล้ว

      @@NedintheCloud I have the exact same issue, but I still can't figure it out, can you create an example on how to output data from a child module when the child module is using a for_each please?

  • @gianlucarusso8475
    @gianlucarusso8475 2 ปีที่แล้ว

    Very useful - Thanks !

  • @danielvicenteibanezgudino2714
    @danielvicenteibanezgudino2714 2 ปีที่แล้ว

    Great Videos