Тёмный

Day 2: Master HCL syntax and Learn how to write Terraform Code 

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

Learn to write Terraform scripts | How to write Terraform code :
In this Terraform tutorial learn Hashicorp Configuration Language or HCL used in writing Terraform Configurations. In this Terraform tutorial you will learn HCL syntax, different datatypes in HCL, How to write functions, Conditional statements, blocks, attributes and more in HCL. After completing this video you will have good knowledge of HCL and you will be able to write Terraform code easily.
HCL Terraform Official documentation: developer.hashicorp.com/terra...
HCL Github : github.com/hashicorp/hcl
This video is a great foundation for the upcoming videos so do not miss it.
Connect with me on LinkedIn: / nasiullha-chaudhari
In this video you will learn below Terraform concepts and more
1. Blocks: Defining blocks using type and enclosing them with curly braces.
2. Attributes: Key-value pairs within blocks.
3. Strings and Numbers: Representing string values in double quotes and numeric values as is.
4. Comments: Adding comments using the `#` symbol.
5. Expressions: Performing operations and manipulating values using `${}` syntax.
6. Lists and Maps: Managing collections of values using square brackets `[]` for lists and curly braces `{}` for maps.
7. Variables: Defining reusable values with default values and specific types.
8. Interpolation: Dynamically inserting values into strings or attributes using `${}` syntax.
9. Conditionals: Using `if` and `else` statements for conditional logic.
10. Functions: Leveraging built-in functions for various operations and transformations.
11. Resource Dependencies: Establishing dependencies between resources.
HCL, which stands for HashiCorp Configuration Language, is a simple and expressive language used by tools like Terraform for writing infrastructure configuration files. It is designed to be human-readable and allows you to define resources, their properties, and their relationships in a concise and easy-to-understand manner. HCL enables you to describe your desired infrastructure state in a declarative format, making it easier to manage and automate the provisioning and configuration of cloud resources.
Timestamps
Intro 0:00
What will you learn in this video 0:38
How to write Comments in HCL 01:32
Blocks and their types 02:51
Attributes in Terraform 03:30
Data types in Terraform 04:30
How to write conditional statements in Terraform Code 06:40
Functions in Terraform 08:45
Resource Dependency 12:06
Summary 14:27
Challenge 15:37
Outro 18:00
To learn Terraform from scratch please checkout the complete Terraform Playlist: • Terraform Full Course:...
Also checkout my other videos:
Master Terraform in 60 mins: • Master Terraform in 60...
DevOps Roadmap from scratch: • How I would Learn DevO...
How to create EC2 using Terraform: • How to create Amazon E...
How to create VPC using Terraform: • How to create AWS VPC ...
How I passed my Terraform Certification: • How I passed my Hashic...
DevOps Engineer salary in 2023: • DevOps Engineer Salary...
After completing this Terraform tutorial learning the hashicorp syntax you will gain the experience and knowledge to write Terraform scripts easily using Hashicorp configuration language.
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.
Join this channel to get access to perks:
/ @cloudchamp

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

 

11 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 91   
@shekharchaugule7700
@shekharchaugule7700 11 месяцев назад
Nice yaar , day 2 done,waiting for day 3
@cloudchamp
@cloudchamp 11 месяцев назад
Day 3 coming tomorrow 9 pm ist
@shashankpatil5905
@shashankpatil5905 Год назад
Very cool concept explain.... Anyone can understand.... Thank you for this series and excited to see all videos series with actual terraform project
@cloudchamp
@cloudchamp Год назад
SO happy to hear that this is helping you will create more videos soon
@tahseenfatma9629
@tahseenfatma9629 11 месяцев назад
this series emerged at right time for me….. thank you!
@cloudchamp
@cloudchamp 11 месяцев назад
So happy to help 😃🤝
@workwithmayuresh
@workwithmayuresh 10 месяцев назад
Hey good one bro ! Loved the way you showed how to make things on Local usingTerraform rather than directly jumping on to Cloud like everyone else ! Thanks bro ! KEEP POSTING SUCH VIDEOS ! ALREADY A SUBSCRIBER ! 😄💪❤
@cloudchamp
@cloudchamp 10 месяцев назад
Glad you liked it!✨ Happy to help 🙏
@marianodangelo8220
@marianodangelo8220 3 месяца назад
Another great video!!! Thank you for taking the time to share the knowledge. A+
@cloudchamp
@cloudchamp 3 месяца назад
You are welcome, make sure to share & subscribe 😀
@RohitRajput-ov7wx
@RohitRajput-ov7wx 11 месяцев назад
Very Cool video explained concept very well Thankyou ❤
@cloudchamp
@cloudchamp 11 месяцев назад
Most welcome 😊
@radhakrishnanak5101
@radhakrishnanak5101 Месяц назад
Amazing graphics Wonderful job brother
@cloudchamp
@cloudchamp Месяц назад
Thank you 👍
@danasekaranraman3685
@danasekaranraman3685 2 месяца назад
Perfect Video honestly I'm searching this type for Video from long time "AWESOME YOUR GREAT" and pls keep update something something new tech video's and we too learn new technology form you ,, Thanks alot
@cloudchamp
@cloudchamp 2 месяца назад
Thank you, I will
@krakesh2003in
@krakesh2003in 10 месяцев назад
You are awesome bro and Thanks for your knowledgeable and amazing video.
@cloudchamp
@cloudchamp 10 месяцев назад
It's my pleasure
@birbalsarva9956
@birbalsarva9956 Год назад
Amazing thank you!❤
@cloudchamp
@cloudchamp Год назад
You're welcome 😊 Birbal
@nabi140
@nabi140 Год назад
Thanks for the series
@cloudchamp
@cloudchamp Год назад
You are welcome
@business_central
@business_central 7 месяцев назад
Great videos man ! you explain very well ! (y) 💯
@cloudchamp
@cloudchamp 7 месяцев назад
Thanks 😊 Happy to help 👍🏻
@pravanjanmohapatra7247
@pravanjanmohapatra7247 Год назад
Please continue this series and upload videos everyday 😊
@cloudchamp
@cloudchamp Год назад
Sure Pravan 🤝
@gamingchamp3070
@gamingchamp3070 Год назад
Amazing video brother, I am learning a lot ❤
@cloudchamp
@cloudchamp Год назад
Glad to hear that. Will learn more from upcoming videos ☺️
@bhavikvegad3449
@bhavikvegad3449 Год назад
Thenks Nassi !!
@cloudchamp
@cloudchamp Год назад
You are welcome
@adarshjha__1
@adarshjha__1 11 месяцев назад
Amazing content for free 👑🙏
@cloudchamp
@cloudchamp 11 месяцев назад
All for the community 🙏
@deva_2022
@deva_2022 11 месяцев назад
Hye Nasim bai it was super tutorial video 💜💜💜💜💜💜💜💜. Please do full playlist. Complete terraform.... It was really superb 🎉🎉🎉🎉
@cloudchamp
@cloudchamp 11 месяцев назад
Thanks Deva, happy to help 😀 Will upload the remaining videos super soon
@faizullahpathan2396
@faizullahpathan2396 Год назад
Good 👍
@cloudchamp
@cloudchamp Год назад
Thanks Pathan Bhai !!!
@krishnanadella4397
@krishnanadella4397 Год назад
Excellent video man❤ waiting for video How to create AWS Ec2, VPC and different types of services using Terraform script.
@cloudchamp
@cloudchamp Год назад
Will be uploading it tomorrow!!!
@Gohard7
@Gohard7 11 месяцев назад
Brother You are doing a great job! .Please keep this series up and since you are in the market please keep it up with real world scenarios .We are grateful for this series . One question How much terraform should i learn for an entry level position as DevOps engineer?
@cloudchamp
@cloudchamp 11 месяцев назад
That's the plan!
@mallikarjunkonemane6908
@mallikarjunkonemane6908 11 месяцев назад
All champ🔥🔥🔥
@cloudchamp
@cloudchamp 11 месяцев назад
🙏🙏
@kavyagadiparthi3035
@kavyagadiparthi3035 11 месяцев назад
nice info Champ
@cloudchamp
@cloudchamp 11 месяцев назад
You are welcome 🤗
@sunilnaikkethavath3622
@sunilnaikkethavath3622 11 месяцев назад
Awesome the way you teach.. Please try to do more on Complete DevOps tools..
@cloudchamp
@cloudchamp 11 месяцев назад
Thank you for the support Sunil, I will do more
@biswajitmohapatra2172
@biswajitmohapatra2172 Год назад
Always first ❤
@cloudchamp
@cloudchamp Год назад
You're the best!❤
@firdhowsmsy1677
@firdhowsmsy1677 8 месяцев назад
💜💜💜
@mohdatheeq8624
@mohdatheeq8624 11 месяцев назад
Trt to push the video on daily basis ,thanks in advance
@cloudchamp
@cloudchamp 11 месяцев назад
I will try my best
@shahedabanu3616
@shahedabanu3616 11 месяцев назад
Hi, can you please share details on how you used to apply freelancing projects. Thanks in advacnce.
@AlikElzin
@AlikElzin 9 месяцев назад
Like for the Linux desktop 💜
@cloudchamp
@cloudchamp 9 месяцев назад
❤️❤️❤️
@supriyachaudhary-tl8wd
@supriyachaudhary-tl8wd 3 месяца назад
Hello @cloud champ i can see only 5video for terraform … can be help me with whole course .. where i can find
@olufowobioladipupo3830
@olufowobioladipupo3830 Месяц назад
Do you intend to mention arguements and not attributes at 4.28? Both are similar but different from my view. wish you could clarify the difference.
@adedayoademefun8895
@adedayoademefun8895 26 дней назад
I was looking for this comment. The right word is 'arguments,' as you mentioned. You can’t view attributes until after resources have been created. Arguments are what you define in the resource block, so he is definitely wrong.
@ashwinichivate3905
@ashwinichivate3905 11 месяцев назад
I ve subscribed ur channel. Ur content are good. Only 1 suggestion- plz explain slowly. U talk very fast. So for beginner, sometimes it become tangent...Thanks
@cloudchamp
@cloudchamp 11 месяцев назад
I will try my best
@Tamilstyle
@Tamilstyle 9 месяцев назад
hi bro, i done my terraform successfully applied .but txt file is not created in visual code
@mysticmahabharat
@mysticmahabharat Год назад
Thanks for making this series ♥️♥️....as im a beginner can i learn it directly or do i need to learn something else before starting terraform?
@cloudchamp
@cloudchamp Год назад
You can learn this directly but console knowledge helps 💯
@mysticmahabharat
@mysticmahabharat Год назад
@@cloudchamp thanks ♥️
@abhijitdivekar.1557
@abhijitdivekar.1557 Год назад
@@cloudchamp Please make video on console also
@aekshannu815
@aekshannu815 Год назад
Bro please regularly post the videos on devops... If possible please start a playlist on devops 😊
@cloudchamp
@cloudchamp Год назад
Will try for sure brother
@vamshikrishna7945
@vamshikrishna7945 10 месяцев назад
@@cloudchamp hey cloud champ try to teach slowly ..u all ways going very fast,last time u did a video on aws with terraform on abhishek channel in that video u teached very fast,try to teach slowly for next upcoming videos, due to your fast teaching am not able to continue entire concepts
@deva_2022
@deva_2022 11 месяцев назад
Hye bro wich device you r u using Mac or windows, the transparent terminal was very nice. How to do that.
@cloudchamp
@cloudchamp 11 месяцев назад
I am using Ubuntu Linux brother
@deva_2022
@deva_2022 11 месяцев назад
@@cloudchamp how to make transparent terminal 🙂?
@sohamkasar7218
@sohamkasar7218 9 месяцев назад
Which extensions u have downloaded in vs code ??
@cloudchamp
@cloudchamp 9 месяцев назад
Hashicorp
@sanaazmi8113
@sanaazmi8113 10 месяцев назад
Hi ! , I was trying to do the challenge aswell but this error occurred , please help 'terraform' is not recognized as an internal or external command, operable program or batch file.
@cloudchamp
@cloudchamp 10 месяцев назад
This looks like an error when terraform is not set to environment path, check the documentation and follow the installation steps properly
@C.RonaldoCR7G
@C.RonaldoCR7G 7 месяцев назад
sir please help me with a video to set up Terraform. mine won't apply my codes. please help me with a step by step set up. I do appreciate
@025saidevaharsha5
@025saidevaharsha5 11 месяцев назад
Bro, Can I get a DevOps job as a fresher through placements? I am in 2nd year Btech, cause I suck at DSA..... Please reply
@cloudchamp
@cloudchamp 11 месяцев назад
not sure about placements but yes you can get devops jobs as a fresher I got it as a fresher but offcampus
@Harshavardhan15970
@Harshavardhan15970 11 месяцев назад
​@@cloudchampI have careergap of 6yrs will i have a chance
@AlikElzin
@AlikElzin 9 месяцев назад
For map keys, are quotes a must?
@cloudchamp
@cloudchamp 9 месяцев назад
Depends on the data type
@2wheeler4ever
@2wheeler4ever Год назад
cool hat 👒
@cloudchamp
@cloudchamp Год назад
Thanks !!! How was the video
@gamingchamp3070
@gamingchamp3070 Год назад
John Cena 😂😂
@cloudchamp
@cloudchamp Год назад
🤣🤣 Glad you can see him
@subbareddydumpala1499
@subbareddydumpala1499 11 месяцев назад
Can someone please help with the Terraform installation steps?
@cloudchamp
@cloudchamp 10 месяцев назад
Follow the official documentation
@sudarshankshirsagar4568
@sudarshankshirsagar4568 11 месяцев назад
Udemy pe courses bana ...
@cloudchamp
@cloudchamp 11 месяцев назад
Sahi bolra hai
@2wheeler4ever
@2wheeler4ever Год назад
Finally
@cloudchamp
@cloudchamp Год назад
Let me know your thoughts
Далее
Is it impossible to cut off so much?💀🍗
00:14
Просмотров 4,5 млн
На чем играют ПРО | Standoff 2
07:25
Просмотров 248 тыс.
Learn Go in 12 Minutes
13:34
Просмотров 942 тыс.
Simple DevOps Project to Practice Terraform with AWS
25:42
Day 4 : Terraform Variables and Outputs Tutorial
22:56
Terraform Explained
8:44
Просмотров 268 тыс.
Terraform has forever changed the way I deploy code
19:12
Is it impossible to cut off so much?💀🍗
00:14
Просмотров 4,5 млн