Тёмный

Day 4 : Terraform Variables and Outputs Tutorial 

Cloud Champ
Подписаться 114 тыс.
Просмотров 12 тыс.
50% 1

Terraform variables and outputs tutorial | terraform variables.tfvs tfvars | environment variables terraform | terraform variables best practices | terraform variables output | terraform output variable
Terraform tutorial to practice and learn Input Variables and output variables and follow best practice when writing terraform code. This terraform hands on course will teach you everything you need to know about variables in Terraform, their types as well as examples with hands on demo.
#terraform #variables #devops #infrastructureascode
Variables in Terraform are a great way to define centrally controlled reusable values. The information in Terraform variables is saved independently from the deployment plans, which makes the values easy to read and edit from a single file.
In this tutorial, we’ll go over the types of available variables in Terraform, how to define them, and how to put them to use.
Terraform Variable Official Documentation : developer.hashicorp.com/terra...
Terraform Output Official Documentation : developer.hashicorp.com/terra...
Connect with me on LinkedIn : / nasiullha-chaudhari
Terraform input variables are used as parameters to input values at run time to customize our deployments. Input terraform variables can be defined in the main.tf configuration file but it is a best practice to define them in a separate variable**.tf** file to provide better readability and organization.
Timestamp
About Terraform variables 0:00
Types of Terraform Variables 0:37
Local Variables in terraform 0:45
Terraform Input Variables 01:10
Terraform variables.tf 02:01
Variable Data types 02:25
Different ways to declare variables in Terraform 09:02
Declaring variables through CLI prompt 09:35
Declaring terraform variable with -var flag 11:58
Terraform variable .tfvars file 14:15
Terraform Environment variables 18:58
Terraform output hands on 19:57
In this video you will cover all different ways to define variables include variables.tf, cli prompt, environment variable and even using tfvars file.
Checkout the following Links
Terraform Complete Playlist: • Terraform Full Course:...
Day 1: Terraform 101: • Day 1 : Terraform exp...
Day 2: Master Terraform syntax: • Day 2: Master HCL synt...
Day 3 : Providers and Resources in Terraform - • Day 3 : Understanding ...
Learn Terraform in just 60 mins: • Master Terraform in 60...
How to create EC2 using Terraform: • How to create Amazon E...
How to create Security groups using Terraform: • How to Create AWS Secu...
How I passed my Terraform Certification: • How I passed my Hashic...
How I earn Money as a DevOps Freelancer: • How I make money remot...
This tutorial will help learn Terraform variables and learning Terraform variables and outputs is crucial because they enable modularity, reusability, and help abstract sensitive information, making infrastructure code more flexible and secure.
Cloudchamp is your favourite RU-vid channel to learn Devops and cloud. The motive of this channel is to help people learn Devops tools and technologies along with sharing my learnings on Terraform, Ansible, AWS, other DevOps tools and Freelancing.
terraform tutorial for beginners
terraform variables tutorial
terraform .tfvars
variables.tf

Наука

Опубликовано:

 

2 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 73   
@viral_shortsviralshorts
@viral_shortsviralshorts Год назад
Thanks for this video, understood and practiced variables with you. Your explanation is best!
@cloudchamp
@cloudchamp Год назад
Amazing!! Happy to help 👍🏻
@nikolatesla399
@nikolatesla399 Год назад
Hi cloud champ 🏆 pls don't stop doing this videos these are really helpful
@cloudchamp
@cloudchamp Год назад
Comment and support like this makes me do this every day. Happy to help ☺️🤝
@nabichaudhari7536
@nabichaudhari7536 Год назад
Best tutorial on terraform variables, the hands on challenges helps a lot
@cloudchamp
@cloudchamp Год назад
Thank you so much for your feedback 🙏 So glad you found it informative 👍🏻
@mahalingamp2450
@mahalingamp2450 Год назад
I have been waiting for your Terraform notifications daily, since the first day of the series. Keep Doing more videos bro
@cloudchamp
@cloudchamp Год назад
Thank you so much my man. Comments like this and the fire to help others give me the motivation to create videos ☺️
@krakesh2003in
@krakesh2003in 11 месяцев назад
Thanks for your terraform variable explanation. You are awesome bro.
@cloudchamp
@cloudchamp 11 месяцев назад
You are most welcome
@user-oi2jp7lv9i
@user-oi2jp7lv9i 5 месяцев назад
Very simple and amazing introduction! Appreciate it a lot! Keep up the hard work
@cloudchamp
@cloudchamp 5 месяцев назад
Thanks 😊 Happy to help
@rahulsingh-iq4gd
@rahulsingh-iq4gd 11 месяцев назад
Thank you very much you cleared all the doubts that I have in terraform variables
@cloudchamp
@cloudchamp 11 месяцев назад
You are most welcome
@gamingchamp2834
@gamingchamp2834 Год назад
Thank you for sharing please teach more DevOps course
@shubhere
@shubhere День назад
thanks for the video
@cloudchamp
@cloudchamp 22 часа назад
You're welcome
@sangeethashanubhag3980
@sangeethashanubhag3980 3 месяца назад
amazing!thank you
@cloudchamp
@cloudchamp 3 месяца назад
Glad you like it!
@kingalex1045
@kingalex1045 8 месяцев назад
So young but still you explain everything very properly 👍
@birbalsarva9956
@birbalsarva9956 Год назад
Thank you bro for making it so easy!!🤩♥️
@cloudchamp
@cloudchamp Год назад
You are welcome Birbal 😀 My pleasure 😇
@mayanksoni1997
@mayanksoni1997 8 месяцев назад
really helpful tutorials. Thanks dude for making this videos for us. Salute you.
@cloudchamp
@cloudchamp 8 месяцев назад
Glad you like them!
@lingrajbiradar4416
@lingrajbiradar4416 10 месяцев назад
Excellent video..😊 please contnue on making much more videos. thank you
@cloudchamp
@cloudchamp 10 месяцев назад
Thank you, I will
@rakeshrajan4560
@rakeshrajan4560 Год назад
Thanks for this, really there was a no such good tutorials in RU-vid to learn Terraform from the scratch. I'm glad that you are doing this as a series.
@cloudchamp
@cloudchamp Год назад
Thank you for the kind words Rakesh, I noticed there isn’t good terraform series from scratch so I am doing it focusing on details and hands on! Happiest to help the community 🤝
@saiprasad7879
@saiprasad7879 Год назад
Thank you done with challenge!
@cloudchamp
@cloudchamp Год назад
Great job Sai
@ein_world
@ein_world Год назад
Thank you
@cloudchamp
@cloudchamp Год назад
You're welcome Ben 10
@blazedquote5829
@blazedquote5829 11 месяцев назад
Very helpful
@cloudchamp
@cloudchamp 11 месяцев назад
Glad you think so
@ashwinichivate3905
@ashwinichivate3905 Год назад
👍👍
@cloudchamp
@cloudchamp Год назад
Thank you 😊
@mahalingamp2450
@mahalingamp2450 Год назад
On top of it ,I would like to add some points order of precedence for loading variable 1.CLI flag( terraform apply -var="xxxx=yyyy" 2.Env variables (export TF_VAR_xxx=yyyy) 3.terraform.tfvars or it should be .auto.tfvars 4.variables.tf variable block must contain type = description= default is optional
@cloudchamp
@cloudchamp Год назад
💯💯
@boilami
@boilami 7 месяцев назад
I am surprised how quiet is the background noise compare to other videos. Have you moved recently ? what is going on ! The content is always spot on, keep going brother. I love the end of video challenge THANKS ! 💣
@rambooo8104
@rambooo8104 Год назад
liked the terraform series, thanks suggest you create a topmate profile, so that we can take your consultation if needed
@cloudchamp
@cloudchamp Год назад
I do have a topmate profile link is in about section of the channel ☺️
@davoodbasha5930
@davoodbasha5930 11 месяцев назад
Waiting for next video.modules
@cloudchamp
@cloudchamp 11 месяцев назад
Very soon
@varun_tech7
@varun_tech7 Год назад
Super useful tutorial, Please continue this series.
@cloudchamp
@cloudchamp Год назад
Thanks, will do!
@pavanakula1225
@pavanakula1225 Год назад
Hi bro, please do more videos on TERRAFORM ❤
@cloudchamp
@cloudchamp Год назад
Sure thing
@vikramkamble5330
@vikramkamble5330 Год назад
Bro... waiting for next video
@cloudchamp
@cloudchamp Год назад
Coming soon
@ein_world
@ein_world Год назад
Waiting for your video
@cloudchamp
@cloudchamp Год назад
Hope you enjoyed it!
@ein_world
@ein_world Год назад
@@cloudchamp yes
@aishwaryadeshmukh6561
@aishwaryadeshmukh6561 5 месяцев назад
I want to make the required parameter as optional, how will I able to achieve this?
@Arjun5_BH
@Arjun5_BH Год назад
Hi bhaiya how can a person learning devops contribute to open source. I am currently following the roadmap by Kubesimplify. Have just started the Linux part
@viral_shortsviralshorts
@viral_shortsviralshorts Год назад
Obviously! There are many Devops tasks and documentation that you contribute to 👍🏻
@Arjun5_BH
@Arjun5_BH Год назад
@@viral_shortsviralshorts Hey can I connect with you on Linkedin
@cloudchamp
@cloudchamp Год назад
Yes there are many issues related to devops in Opensource projects 👍🏻
@abuhussain4111
@abuhussain4111 10 месяцев назад
How can you have prod and staging exist simultaneously becuase now the one will destroy the other when apply
@cloudchamp
@cloudchamp 10 месяцев назад
Just an example to help you understand tfvars file
@abuhussain4111
@abuhussain4111 10 месяцев назад
@@cloudchamp Do you have any suggestion as to how i could have two environments exist using tfvars file at the same time without effecting each other. Thank you verry much for you're content its a great help
@abnishtiwari4002
@abnishtiwari4002 Год назад
I want to fetch a list of vSphere VMs with their tag values using terraform. Is that even possible?
@cloudchamp
@cloudchamp Год назад
Yes possible using data block
@sylviaengwari1082
@sylviaengwari1082 11 месяцев назад
This is the first video of yours which i just watch and it well explained good . do you have an email which someone can write you ?thanks
@cloudchamp
@cloudchamp 11 месяцев назад
Yes you can write me on cloudchamp44@gmail.com
@sylvienjeikeh8116
@sylvienjeikeh8116 11 месяцев назад
Ok thanks
@Rathan..
@Rathan.. 8 месяцев назад
what is the most common way of declaring variables used in real time?
@cloudchamp
@cloudchamp 8 месяцев назад
Files.
@Rathan..
@Rathan.. 8 месяцев назад
@@cloudchamp ".tfvars" files right?
@Harshavardhan15970
@Harshavardhan15970 Год назад
How to find fresher jobs in devops, i didn't get calls dude
@gaurabuprt
@gaurabuprt Год назад
is this all for the terraform tutorial videos?
@cloudchamp
@cloudchamp Год назад
No, creating a project to help you learn everything
@gaurabuprt
@gaurabuprt Год назад
@@cloudchamp that's great brother. I'm eagerly waiting for it then. I was following along with the videos so couldn't resist not to ask for it.
Далее
🔴Ютуб закрывают... Пока?
00:39
Просмотров 1,4 млн
Terraform Basics: Input Variables
33:54
Просмотров 7 тыс.
Don't put your types in .d.ts files
3:54
Просмотров 132 тыс.
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Myself ruined 15 LPA DevOps last round 🤮🤮🤮
18:04
Learn how to use Terraform variables
9:39
Просмотров 24 тыс.