Terraform Basics - Functions

preview_player
Показать описание
The Terraform core binary comes with a set of built-in functions that can be used to manipulate data within you configuration. The syntax for using a function is pretty straightforward, you start with the function name, followed by a set of parentheses.

Functions are used to transform data in your configuration or sometimes reference objects outside the configuration, in cases like file() or timestamp(). You can use the terraform console to evaluate function expressions before putting them in your code.

Although you cannot define custom functions directly in Terraform, you can create modules that perform the data transformation you want or leverage the new provider-defined functions available in Terraform 1.8.

This is part of the Terraform Basics series, a set of video created to focus on one aspect of Terraform and explain it in detail. While not a replacement for a full course, if there's something in Terraform that doesn't quite click with you, hopefully Terraform Basics will fill in the gaps.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

🌮 Other Terraform Basics videos to check out:

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

🌮 Timestamps:

⌚ 0:00 Intro
⌚ 0:41 Function Syntax
⌚ 4:35 Function Categories
⌚ 5:49 Testing Expressions
⌚ 9:31 Custom Functions
⌚ 10:50 Final Thoughts

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#terraform #hashicorp #devops #cloudengineer #techlearning
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

⭐ CONNECT WITH ME 🏃🦖

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

🌮 About Me 🌮

Ned is a curious human with a knack for creating entertaining and informative content. With over 20 years in the industry, Ned brings real-world experience to all his creative endeavours, whether that's pontificating on a podcast, delivering live instruction, writing certification guides, or producing technical training videos. He has been a helpdesk operator, systems administrator, cloud architect, and product manager. In his newest incarnation, Ned is the Founder of Ned in the Cloud LLC. As a one-man-tech juggernaut, he develops courses for Pluralsight, runs two podcasts (Day Two Cloud and Chaos Lever, and creates original content for technology vendors.

Ned has been a Microsoft MVP since 2017 and a HashiCorp Ambassador since 2020, and he holds a bunch of industry certifications that have no bearing on anything beyond his exceptional ability to take exams and pass them. When not in front of the camera, keyboard, and microphone, you can find Ned running the scenic trails of Pennsylvania or rocking out to live music in his hometown of Philadelphia. Ned has three guiding principles: Embrace discomfort, Fail often, and Be kind.
Рекомендации по теме
Комментарии
Автор

Love the Terraform Basics series! Thank you so much.

andyl.
Автор

made it to the end of the series, thanks for your effort, very informative :D

badoiuecristian
Автор

Hoping to sit the 003 exam in the coming week, your videos are going to be so helpful. Thanks!

pans.to.packets
Автор

following since year... now i am almost expert😮 thanks much🎉

dthirumalrao