Terraform Basics: Resource Blocks

preview_player
Показать описание
Resource blocks are one of many configuration block types, and they are arguably the most important block type. After all, if Terraform couldn't express resource configurations, it wouldn't be very useful now would it?

Resource blocks follow the simple syntax of the resource keyword to start the block followed by two block labels. The first block label is the resource type as defined by the provider. The second block label is the resource name. Put together, the resource type and name label form the unique identifier of the resource in the configuration.

Inside the curly braces will be a set of arguments in the form of identifier and expression pairs and possibly some nested blocks. The supported arguments and nested blocks are defined by the resource type, but there is a set of meta-arguments that are common to all resources.

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:37 Resource Blocks
⌚ 1:44 Resource Type
⌚ 3:26 Name Label
⌚ 5:09 Meta-arguments
⌚ 6:21 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.
Рекомендации по теме