Terraform Modules | How To Build Reusable Code for Infrastructure | DevOps Training 2023| K21Academy

Ғылым және технология

FREE CLASS On Terraform For Beginners Certification & Demo : bit.ly/42NjwVc
➡ In this video, we will explore Terraform modules, an essential tool for building reusable infrastructure code. We will cover the basics of modules, how to create them, and how to use them in your infrastructure code. We will also delve into best practices for writing modules that are flexible, scalable, and easy to maintain.
👉 Introduction to Terraform Modules
👉 Creating Terraform Modules
👉 Using Terraform Modules
👉 Best Practices for Terraform Modules
📝 Whether you're new to Terraform or a seasoned user, this video will provide valuable insights into building reusable infrastructure code with Terraform modules. Join us on this journey to learn how to create better, more efficient infrastructure with Terraform.
🤔 So, want to know more about 𝐓𝐞𝐫𝐫𝐚𝐟𝐨𝐫𝐦 𝐌𝐨𝐝𝐮𝐥𝐞𝐬?
⚡ Checkout this Video 👉 • Video
⚡ Want more in-depth training?
⚡ Register for the 𝐅𝐑𝐄𝐄 𝐂𝐋𝐀𝐒𝐒 👉 bit.ly/42NjwVc
#terraformmodules #terraformmodulesaws #terraformmodulesazure #terraformmodulesexplained #reusablecode #terraform #aws #devops #azure
Subscribe us and know more about latest Cloud technology: k21academy.com/youtube
---------------------------------------------------------------------------------------------------------------
LET'S CONNECT ON SOCIAL ↴
➽ Facebook: k21academy.com/Facebook
➽ Linkedin:k21academy.com/linkedin
➽ Twitter: k21academy.com/twitter
➽ Instagram: k21academy.com/instagram
See you in the next video!

Пікірлер: 5

  • @venkatkatta2154
    @venkatkatta2154 Жыл бұрын

    How about the resources names will create ... If I want create two instances name,name1 module "name" { source = ""} Module "name1" { source= ""} In this two modules referred source is same rite ... So mu question ⁉️ is Resources names are unique rite ... Module 1 created the resources and am calling same configuration again... How it will create resources?

  • @DeepakSharma-zj3xd

    @DeepakSharma-zj3xd

    Жыл бұрын

    In Terraform, resource names must be unique within a given module. So if you have two instances of a module, each instance must have a unique name for its resources. In your example, you have two modules with the same resource name, which would result in a naming conflict if you tried to apply the configuration. To avoid this, you can give each module a unique resource name: module "instance1" { source = "path/to/module" } module "instance2" { source = "path/to/module" } Each module instance can refer to the same source code, but it must have a unique name for its resources. When you apply the configuration, Terraform will create separate instances of the resources for each module. Hope it helps. Thanks & Regards Team k21

  • @K21Academy

    @K21Academy

    Жыл бұрын

    Thanks Deepak !

  • @SunilNagavelli
    @SunilNagavelli Жыл бұрын

    (dislike) - How good is a module without variables? what is the point of writing it if you have predefined values?

  • @K21Academy

    @K21Academy

    Жыл бұрын

    A module without variables can still be useful if it contains functions or logic that performs a specific task. However, if the module has no dynamic behavior and only contains predefined values, it may not be very useful as it does not allow for any customization or flexibility in usage. Regards. Team K21Academy

Келесі