Modules | Terraform Tutorial | #15

preview_player
Показать описание
Modules group multiple resources together to create reusable code throughout your configurations. Modules can be thought of like packages in Python or modules in Javascirpt. A developer calling a module doesn't need to know about the underlying behavior and needs to only pass in the required data.

In this video tutorial I'll go over how and when to create modules along with some best practices.

- Root and child modules
- Output values from modules
- Use output values as inputs to other modules or resources
- Meta arguments like source and version
- Folder architecture for designing modules
- count, for_each and depends on in Terraform version 0.13
- One module that can use multiple providers

Course Examples:

Module Documentation:

Creating Modules:

Module Sources:

Publishing Modules:

Module Composition:
Рекомендации по теме
Комментарии
Автор

The only Terraform teacher I understand 😂 Thank you! 😃

RicardoLinares-zs
Автор

Best terraform tutorial I have seen so far. Thank you for sharing.

dalaiwu
Автор

I have spent MONTHS TRYING TO UNDERSTAND MODULES AND YOU ARE THE FIRST TO MAKE IT in clear real example details. Amazing thank you so much!!

DreamHound
Автор

Great explanation! I have spent the last few days hitting my head in the wall because my modules were not working. Thanks to your explanation about root and child modules now everything is crystal clear. Thank you!

nikker
Автор

Will you are a gifted teacher. This is the best Terraform tutorial I've encoountered. If you are not already doing so you should consider putting up classes on the learning platforms like Coursera, Udemy, etc and get PAID !!!! You deserve it.

johnsonmaurice
Автор

This is the best video I have seen so far regarding TF module. Thanks

Ashu
Автор

This is exactly what I was looking for. The other videos approached the topic in such a complicated way that by the end I didn't feel like watching it anymore.
Great work. Keep it up ;)

jsandorkosa
Автор

OMG finally someone came up with a decent terraform hands on tutorial ! thank you so very much !!!

sebastianfarias
Автор

I've been asking myself "when would I use a module instead of a resource?" for the past week. You answered it in the first 30 seconds. Thank you Will!!

PatrickBurkeTV
Автор

You are the best. Watching from South Africa. Thank you!

miyelanimaluleke
Автор

when I searched for terraform modules, this video came out as number 1, I was wondering why, but now I know why...this is hands down the best TF module explanation video on youtube.
Some quick tips, for aligning the equals, you can use terraform fmt, also for seeing output values without running apply, you can use terraform refresh.

KingstonFortune
Автор

Woo. Thank you. I really got a lot from this videos more than the thousand of hrs spent watching other videos. Thanks

chichi
Автор

Great Tutorial, i understood the basics of modules completely with this video. Well worth the 30 minutes . Thank you

johnnyxxx
Автор

Great video! What I needed!

Shift+alt+f to auto format instead of all the space clicking!

ee
Автор

Brilliant modules tutorial, the simplicity and breakdown. Thanks a million Will.

mosesg
Автор

Keep doing what your doing! You channel will grow. Enjoying your content

wekbb
Автор

@Will Brock - Great videos. Keep up the good work. I have noticed that you align the "=" signs. Just one tip. I usually use "terraform fmt" at the command line to align them.

rogerdpm
Автор

On of the best tutorial series on Terraform I came accross. I tried multiple other videos and not able clear the basics concept you have cleared doubts. Thanks a lot for such easy and straight forward explanation. Keep it up 👍

mayureshpatilvlogs
Автор

you are awesome! I am a newbie to TF and you have helped me getting up on speed in NO TIME! Thank you so much!

tienpho
Автор

Awesome.. straight to the point.. and clear.. described for a newbie in mind.

BhanyReddy