Terraform Basics: Output Values

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 18

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

  • @komalthecoolk
    @komalthecoolk 2 роки тому

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

  • @rajeshantony74
    @rajeshantony74 9 місяців тому

    Great video Ned!!

  • @Riyaz8980.
    @Riyaz8980. 2 роки тому

    Thank you brother for terraform serious

  • @nursultanbegmatov6227
    @nursultanbegmatov6227 3 роки тому +1

    as always very clear and useful

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

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

  • @manavid86
    @manavid86 2 роки тому

    can we use terraform output values as tags