Terraform Basics: Output Values

  Рет қаралды 5,990

Ned in the Cloud

Ned in the Cloud

Күн бұрын

Every Terraform configuration is a module. And every module has a way to get information in (Input Variables) and a way to get information out (Output Values). In this video I'll walk through the primary use cases for outputs and show examples of how to leverage outputs for each case.
Terraform Certification Guide: leanpub.com/terraform-certified/
-----------------------------------------------------------------------------------------------------
Patreon: / nedinthecloud
Daily Check-In: anchor.fm/ned-bellavance
Day Two Cloud: daytwocloud.io
Website: nedinthecloud.com
Pluralsight: app.pluralsight.com/profile/a...
GitHub: github.com/ned1313
Music by Evan Williams ©2020
Timestamps
00:00 Intro
1:40 What Are Outputs?
3:16 Output Use Cases
7:53 Output Syntax
11:47 Outputs for External Targets
15:48 Outputs for Parent Modules
19:32 Outputs for Other Configurations
26:21 Summary and Outro

Пікірлер: 18
@rajeshantony74
@rajeshantony74 5 ай бұрын
Great video Ned!!
@nursultanbegmatov6227
@nursultanbegmatov6227 2 жыл бұрын
as always very clear and useful
@danielrobertson3302
@danielrobertson3302 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
Best of luck!
@NedintheCloud
@NedintheCloud 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
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.
@gianlucarusso8475
@gianlucarusso8475 2 жыл бұрын
Very useful - Thanks !
@Riyaz8980.
@Riyaz8980. 2 жыл бұрын
Thank you brother for terraform serious
@danielvicenteibanezgudino2714
@danielvicenteibanezgudino2714 2 жыл бұрын
Great Videos
@komalthecoolk
@komalthecoolk Жыл бұрын
What's the vscode plugin that is showing the "reference' to the code blocks?
@manavid86
@manavid86 2 жыл бұрын
can we use terraform output values as tags
@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 2 жыл бұрын
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 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 2 жыл бұрын
@@NedintheCloud thank you!
@luismendezescobar9049
@luismendezescobar9049 2 жыл бұрын
@@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?
Terraform Basics: Input Variables
33:54
Ned in the Cloud
Рет қаралды 6 М.
Terraform Basics: Local Values
19:08
Ned in the Cloud
Рет қаралды 6 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 57 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 38 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 7 МЛН
What's Wrong With The Terraform Remote State Data Source?
14:48
Ned in the Cloud
Рет қаралды 2,3 М.
Modules and Outputs with Terraform and Azure
28:02
Travis Roberts
Рет қаралды 30 М.
Terraform Basics: Modules
15:23
Ned in the Cloud
Рет қаралды 20 М.
19 Вещей, Которые Вы Увидите Впервые в Жизни
12:06
Мастерская Настроения
Рет қаралды 1,7 МЛН
Parsing Data with For Loops
28:28
Ned in the Cloud
Рет қаралды 11 М.
Using Moved Blocks in Terraform
17:49
Ned in the Cloud
Рет қаралды 6 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 57 М.
Using templatefile in Terraform
21:43
Ned in the Cloud
Рет қаралды 12 М.
Getting Started with GCP and Terraform
36:59
Ned in the Cloud
Рет қаралды 29 М.
Terraform Practices: The Good, the Bad, and the Ugly
15:01
HashiCorp
Рет қаралды 9 М.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,5 МЛН
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 382 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 1,7 МЛН
Самые крутые школьные гаджеты
0:49