Terraform Locals | How to use Terraform Locals? - Part 4

  Рет қаралды 27,730

Rahul Wagh

Rahul Wagh

Күн бұрын

Пікірлер: 37
@LukasKotatko
@LukasKotatko Жыл бұрын
this channel is very undervaluated - plenty of pretty good content here
@RahulWagh
@RahulWagh Жыл бұрын
Thanks for the feedback
@jitenderpal3588
@jitenderpal3588 Жыл бұрын
very well explained Rahul bhai..I have seen many videos earlier as well on Terraform but I find your videos easy to understand. Thanks for putting hard work
@RahulWagh
@RahulWagh Жыл бұрын
So nice of you
@ssar-np7uo
@ssar-np7uo 2 жыл бұрын
I was looking for tf in Realtime use. And i got it !!.Great videos.Continue your work.
@ashokreddysatti9475
@ashokreddysatti9475 5 ай бұрын
Nice explanation Rahul wagh sir,i seen many video's about locals but not got clarity,after your video i got clarity..
@udaykiran-je5ps
@udaykiran-je5ps 2 жыл бұрын
What is the difference between normal var declared variables and this locals variable?
@cirishafranky
@cirishafranky 2 жыл бұрын
I think difference between var n locals is that vars can be assigned using env vars Or tfvars file etc. But locals are defined in the script itself.. Cannot accept assignment from outside
@happylearningtricks
@happylearningtricks Жыл бұрын
thanks Rahul for your valuable content.
@RahulWagh
@RahulWagh Жыл бұрын
You are welcome
@ChristopherKMEtou
@ChristopherKMEtou 2 жыл бұрын
Are there any rule on excessive use of local variables? Due to the face that variables don' t allow other variables as value, can I use locals to abstract variables and their pass those locals as input of variable in modules?
@aruntaprial3704
@aruntaprial3704 2 жыл бұрын
Thanks for the quality content having variables or locals is good in case we want to change only a single value what in case there is a requirement to change 2 values in the tag example stage-application-projectname i dont want to hardcode stage and projectname, just want to set it as per requirement using varibles or locals or anything you suggest it should be something like environment-application-projectname where i can pass the values for environment like stage or dev or prod and any projectname for the projectname .. can you please provide the syntax for the same or guide a bit
@ravitejamerugu3587
@ravitejamerugu3587 3 жыл бұрын
the same can be achieved with variable block inside main.tf or variables.tf file. then what is the difference this local variables make? please explain.
@RahulWagh
@RahulWagh 3 жыл бұрын
local variables are useful when you have a multimodule terraform project where you are have already defined some variable inside your variable.tf but you do not want to use same variable in your other module then in that case you are going to need local variables so that their scope is just limited to that particular module
@ravitejamerugu3587
@ravitejamerugu3587 3 жыл бұрын
@@RahulWagh gotcha, thanks alot ✅
@UmerSyed707
@UmerSyed707 3 жыл бұрын
@@RahulWagh nice video..but would have been nice if you mentioned this important point in the video
@RahulWagh
@RahulWagh 3 жыл бұрын
Yeah I agree sometimes there are so many thoughts while preparing these type of sessions so it just easy to forget
@sivarasana3641
@sivarasana3641 Жыл бұрын
Excellent explanation sir
@RahulWagh
@RahulWagh Жыл бұрын
Thanks and welcome
@vijaymestry4236
@vijaymestry4236 5 ай бұрын
Great videos.Continue sir
@RahulWagh
@RahulWagh 5 ай бұрын
You welcome
@forexmeter3900
@forexmeter3900 2 жыл бұрын
Very well explained!
@jeeldasvani5015
@jeeldasvani5015 2 жыл бұрын
can we set value of locals by command line ??
@MuhammadWaqas-gr4gg
@MuhammadWaqas-gr4gg 2 жыл бұрын
I am confused between the variable and Local??? Whats the difference between them??? Secondly I am using Local.name without putting any $ sign in start....and its working....so is it mandatory to use $ sign or it can work either way???please help to explain the above 2 queries.....thanks
@cirishafranky
@cirishafranky 2 жыл бұрын
I think $ is used wen we need to concatenate some string like "mystring" to variable like "${local.staging_env}-mystring". And difference between var n locals is that vars can be assigned using env vars Or tfvars file. But locals are defined in the script itself.. Cannot accept assignment from outside..
@sathyar7078
@sathyar7078 3 жыл бұрын
I like all your videos and this is very good . I am mainly working on Azure and your videos really helps me in understanding core concepts . And I have one doubt , can we import multiple resources at a single time ?
@RahulWagh
@RahulWagh 3 жыл бұрын
What kind of resources you wanna import in terraform?
@saiteju8169
@saiteju8169 2 жыл бұрын
Great tutorial, do you have a complete udemy course of terraform with gcp and k8s???
@RahulWagh
@RahulWagh 2 жыл бұрын
Not yet but I am planning to launch the course soon
@massiccreation2981
@massiccreation2981 3 жыл бұрын
Great Info!!
@GautamThakur
@GautamThakur 3 жыл бұрын
how much would you charge, if someone wants private lessons?
@RahulWagh
@RahulWagh 3 жыл бұрын
It would be really nice to talk it over email
@rampanwar1316
@rampanwar1316 3 жыл бұрын
good explain
@RahulWagh
@RahulWagh 3 жыл бұрын
Thanks for liking
@GautamThakur
@GautamThakur 3 жыл бұрын
Thanks a lot
@sajid4087
@sajid4087 Жыл бұрын
It's hardcoding confusing
@shashikrishna129
@shashikrishna129 3 жыл бұрын
Hi droped an email, can you check please..
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Crazy fast Kubernetes Automation with Terraform
26:23
Christian Lempa
Рет қаралды 103 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 302 М.
How to Manage Secrets in Terraform?
15:54
Anton Putra
Рет қаралды 30 М.
Terraform Basics: Local Values
19:08
Ned in the Cloud
Рет қаралды 7 М.
What is Terraform null_resource and how to use it? - Part-21
19:10
Day 4 : Terraform Variables and Outputs Tutorial
22:56
Cloud Champ
Рет қаралды 15 М.